Search results
132 packages found
Get the native type of a value.
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
A Node.js library offering functions to check variable types, including arrays, objects, strings, numbers, booleans, and undefined values.
A collection of simple and lightweight randomizers for JavaScript (TypeScript friendly)
A collection of simple and lightweight randomizers for JavaScript (TypeScript friendly)
A collection of simple and lightweight randomizers for JavaScript (TypeScript friendly)
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.
unique is a function that remove any duplicates from an array.
This module is small but easy to use. The purpose of this module is to check if a target value equals a source value, it can optionally also do none case sensitive comparing.
Isomorphic, functional type-checking for Javascript
cast objects, arrays, numbers strings and booleans to buffers
Consumes a defaults object with booleans, generates all possible variations of it
checks if value exists in array or string returning boolean
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
Script that parses a boolean query to an array with all the possibilities. IE: (a AND (b OR c)) -> [[a, b],[a, c]]
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.