@resolute/coerce
Coerce input to types and formats with sanitizers and validators.
Coerce input to types and formats with sanitizers and validators.
Deeply converts (coerces) a Json object to specified types via a mapping
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
coerce properties within an Object to other types
wrap jQuery.Deferred to make it more like native Promises
env value to JS value, check env val is boolean or others
The ts-is-number a utility npm package that checks if a given input is a valid finite number or a string that can be converted to a valid finite number.
Some SchemaTypes to get you started with @protagonists/coerce
MMS - API Core - Common utils tools
MMS - API Core - Common types, classes and functions
Force a value out of a promise
Change values on an object based on keywords or a key map.
A library to coerce values at run-time.