tryFind

Try to get the value at path, assign to result, and return success. *

  1. bool tryFind(Node node, string path, ref T result)
  2. bool tryFind(Node node, string path, ref T result)
  3. bool tryFind(Node node, string path, ref Variant result)
    final
    bool
    tryFind
    nothrow @safe
    (
    T = Node
    )
    (
    Node node
    ,
    string path
    ,
    ref Variant result
    )
  4. bool tryFind(Node node, string path, ref Variant result)

Parameters

node
Type: Node

The node to search.

path
Type: string

The path to look for in the node.

result
Type: Variant

ref The value to assign the result to. *

Return Value

Type: bool

Whether or not the path was found.

Meta