Skip to main content

CommonPick

Callable

  • CommonPick<KeyType, RecordType>(object, keys): Pick<RecordType, KeyType>

  • Create a copy of the passed record with all specified keys removed


    Parameters

    • object: RecordType

      The to-be copied record

    • keys: Iterable<KeyType, any, any>

      The to-be removed keys from the record

    Returns Pick<RecordType, KeyType>