Function write

  • Set 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 set the value into.

    • path: P

      A dot separated string as a path to set the value.

    • Optional value: NestedPathValue<T, P>

      New value to be set.

    Returns void

Generated using TypeDoc