es-to-primitive198.4mMIT1.3.0ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
ljharbabout 1 year 前primitive, abstract, ecmascript, es5 has-values96.9mMIT2.0.1Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
jonschlinkertover 3 years 前array, boolean, empty, find has-value96.6mMIT2.0.2Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
jonschlinkertover 3 years 前array, boolean, check, deep koalas10.1mMIT1.0.2Coalesce for JavaScript. Returns the first value that is not undefined or null.
doowbover 3 years 前check, isnull, kind, koala is-window4.3mMIT1.0.2Checks if the given value is a window object.
gearcaseover 3 years 前is, check, checks, detect