Function isPrototype

  • Checks if the given value is a prototype.

    Type Parameters

    • T

      The type of the value to check.

    Parameters

    • value: T

      The value to check.

    Returns boolean

    A boolean indicating whether the value is a prototype.

    Example

    isPrototype({});;
    //=> false
    isPrototype(Object.getPrototypeOf({}));;
    //=> true

Generated using TypeDoc