Function read

  • Get the value of an object by using a path.

    Type Parameters

    • T extends object

    • P extends string = NestedPath<T, keyof T>

    Parameters

    • object: T

      An object to get the value from.

    • path: P

      A dot separated string as a key to get the value.

    Returns NestedPathValue<T, P>

Generated using TypeDoc