check-more-types
Large collection of predicates.
Found 11 results for duck-typing
Large collection of predicates.
A little library for asserting types and values, with zero dependencies.
A little library for asserting types and values, with zero dependencies. Follower for check-types (archived).
Uncouple constructors and classes methods into functions.
Fast and boilerplate-free precondition checks for javascript.
Message-based duck typing system focused on behavioral roles instead of structural types.
Tiny tiny duck typing utility
Check for what you need. Mainly for framework developers
Unlike default EcmaScript (JavaScript) constructors such as `String() defaults to '' | Number() defaults to 0 | Symbol() defaults to Symbol() | Boolean() defaults to false` . Instead, using `typed-getters` we can maintain consistency among JavaScript prim
A little library for asserting types and values.
A better alternative to the typeof-operator in JS. Utilizes the internal [[CLASS]] property.