es-to-primitive172.9mMIT1.3.0ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
ljharb7 months 前primitive, abstract, ecmascript, es5 has-values108.7mMIT2.0.1Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
jonschlinkertabout 3 years 前array, boolean, empty, find has-value108.4mMIT2.0.2Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
jonschlinkertabout 3 years 前array, boolean, check, deep koalas13.1mMIT1.0.2Coalesce for JavaScript. Returns the first value that is not undefined or null.
doowbabout 3 years 前check, isnull, kind, koala is-window6.1mMIT1.0.2Checks if the given value is a window object.
gearcaseabout 3 years 前is, check, checks, detect