UNPKG

kind

Version:

A node.js type detection and comparison library

9 lines (7 loc) 274 B
kind ==== A node.js type detection and comparison library kind.is - compares item with string or constructor kind.of - returns a string representation of type kind.ctor - return constructor representation of type kind.equal - determines if two items have the same type