Search results
108 packages found
Is this value a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
- primitive
- abstract
- ecmascript
- es5
- es6
- es2015
- toPrimitive
- coerce
- type
- object
- string
- number
- boolean
- symbol
- View more
Get the native type of a value.
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
Consumes a defaults object with booleans, generates all possible variations of it
A Node.js library offering functions to check variable types, including arrays, objects, strings, numbers, booleans, and undefined values.
Hash object for boolean values with extra usefull functions (ES6)
Test if a value is a boolean.
A robust micro library for type checking. Defers to constructs' internal `[[Class]]` property rather than duck typing for excellent type detection and to avoid triggering false positives.
Isomorphic, functional type-checking for Javascript
cast objects, arrays, numbers strings and booleans to buffers
unique is a function that remove any duplicates from an array.
Check if a given value is empty in JS extending his "truthy" and "falsy" nature
Ask for a type, returns a true/false as answer.
retrieve the type of your value by using constructors when possible
Javascript number, string, boolean, object validator
RapidOM schema validator
- rapid
- object
- model
- rapidom
- javascript
- typescript
- schema
- validation
- default
- required
- array
- min
- max
- length
- View more
compare the type of your value with one or several types
- typeof
- types
- instanceof
- type-of
- test
- check
- typeof-in
- string
- constructor
- name
- number
- object
- array
- function
- View more
A robust micro library for type checking. Defers to constructs' internal `[[Class]]` property rather than duck typing for excellent type detection and to avoid triggering false positives.