Function isPrototypeOfObject

  • Given input's prototype comes directly from Object.

    Example

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

    Type Parameters

    • Input extends object

    Parameters

    • object: Input

    Returns boolean

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