Function del

  • Deletes a given property key from an object.

    Returns

    The modified object.

    Type Parameters

    • T

    Parameters

    • attr: PropertyKey

      The property name.

    • x: T

      The given object.

    Returns T

Generated using TypeDoc