@writetome51/is-finite-number
2 functions that check if passed argument is or is not a finite number
2 functions that check if passed argument is or is not a finite number
Tiny tiny duck typing utility
a function to be called inside a loop that iterates through an array of numbers
Function triggers error if argument is not array
Type-check your function inputs with syntax like T(s, T.string, buf, Buffer, strings, T.list(T.string))
Runtime type annotations for CoffeeScript (and JavaScript too!)
A featureful function parameters signature module
Triggers error if argument is not integer of type 'number'
Function triggers error if argument is not finite number of type 'number'
Function triggers error if argument is not integer of zero or greater
Runtime type checking for css props.
A small library for checking types
Babel plugin for static and runtime type checking using Flow and tcomb
Type creation, validation, and comparison for Javascript
Guard is a type checker that aims to make type checking function arguments easier and more readable.
A little library for asserting types and values, with zero dependencies. Follower for check-types (archived).
Type creation, validation, and comparison for Javascript
Easy but powerful enums for safer code. e.g. const Fruit = new Enum("apple pear banana"); gives you Fruit.apple, Fruit.has("apple"), and Fruit.$apple() (as a fail-fast value), whilst Fruit.isApple('penguin') will throw an error.
Turn any JavaScript data structure into its typed representation.
Babel macro that automatically generates type guards for a given type (WIP)