330 packages trouvés en 8ms es-to-primitive172.9mMIT1.3.0ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
ljharbIl y a 7 monthsprimitive, 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.
jonschlinkertIl y a about 3 yearsarray, boolean, empty, find has-value108.4mMIT2.0.2Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
jonschlinkertIl y a about 3 yearsarray, boolean, check, deep koalas13.1mMIT1.0.2Coalesce for JavaScript. Returns the first value that is not undefined or null.
doowbIl y a about 3 yearscheck, isnull, kind, koala is-window6.1mMIT1.0.2Checks if the given value is a window object.
gearcaseIl y a about 3 yearsis, check, checks, detect