Function isPrototypeOfObject

  • Given input's prototype comes directly from Object.

    Example

    isPrototypeOfObject({}); // true
    isPrototypeOfObject(/./); // false

    Returns

    true if the given value is an object inheriting directly from Object, false otherwise.

    Type Parameters

    • Input extends object

    Parameters

    • object: Input

    Returns boolean