Node.opApply

Foreach over a sequence, getting each element as T.

If T is Node, simply iterate over the nodes in the sequence. Otherwise, convert each node to T during iteration.

  1. int opApply(D dg)
  2. int opApply(D dg)
    struct Node
    const
    int
    opApply
    (
    D
    )
    (
    D dg
    )
    if (
    isDelegate!D &&
    (Parameters!D.length == 1)
    )
  3. int opApply(DG dg)
  4. int opApply(DG dg)

Throws

NodeException if the node is not a sequence or an element could not be converted to specified type.

Meta