• Returns whether the given object is a prototype

    Parameters

    • object: any

      the object to check

    Returns boolean

    whether the given object is a prototype

    isPrototype({});    // false
    isPrototype('foobar'); // false