Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 304 Bytes

prototype.md

File metadata and controls

15 lines (10 loc) · 304 Bytes

Prototype

Some constructor's prototype property

prototype/is

Confirms if given object serves as a prototype property

const isPrototype = require("type/prototype/is");

isPrototype({}); // false
isPrototype(Object.prototype); // true
isPrototype(Array.prototype); // true