UNPKG

guards

Version:

Data type & structure checking, runtime analog of types

25 lines (15 loc) 631 B
# Changes # ## 0.3.0 / 2011-07-02 ## - Removed all external dependencies. ## 0.2.0 / 2011-06-10 ## - Implementing in functional style to reduce boilerplate. - Simplified package structure. - Make use of graphqurie instead of bundling dependencies. - Splitting lib into minimal core and additional functionality. ## 0.0.2 / 2011-03-27 ## - Created scheme guards no longer accept array values. - Added `Function` guard for function validations. - Added `AnyOf` guard to allow simple composition of guards that accept more then one type / structure of values. ## 0.0.1 / 2011-03-02 ## - Initial release