Function doesntHaveKey

  • Checks if the object object does not have the key key.

    Type Parameters

    • T extends Record<string, any>

    • K extends string

    Parameters

    • object: T
    • key: K

    Returns object is Exclude<T, K>

Generated using TypeDoc