• The extract utility deletes a property from an object and returns its value.

    Returns

    The value of the property

    Type Parameters

    • T

    • K extends string | number | symbol

    Parameters

    • object: T

      The object that owns the property

    • property: K

      The name of the property to extract

    Returns T[K]

Generated using TypeDoc v0.23.24