Function dataWalkUnsafe

  • Walks the given data object down to the given path, yielding subkeys. This is NOT typesafe and is intended for framework use only.

    Type Parameters

    • T

    Parameters

    • data: undefined | any[] | {
          [key: string]: any;
      }
    • path: string
    • Optional defaultValue: T
    • currentPath: string = ''

    Returns IterableIterator<[T | T[] | undefined, string]>