• Traverses an object along a path.

    Returns

    the value at the end of the path or undefined if the value does not exist

    Parameters

    • path: string

      The path to traverse the object along. This can be a path like foo.bar, a path to a specific index in an array e.g. foo[0] or any combination of those e.g. foo['bar'].baz[0]. Like the javascript notation, except that the ? operator is not supported.

    • o: any

      the object to traverse

    Returns any

Generated using TypeDoc