by Clark Inada
Craydent is all inclusive utility library. There are several ways to use the library in NodeJS. More detailed documentation on constants can be found at Craydent Properties. More detailed documentation on methods can be found at Craydent Methods
// require - this require is the fully modular version with no global constants, prototypes, or methods.
const parseBoolean = require('craydent.parseBoolean').default;
// import - this require is the fully modular version with no global constants, prototypes, or methods.
import parseBoolean from 'craydent.parseBoolean';
Info: Try to parse value to a Boolean (0, 1, '0', and '1' are valid unless strict is set to true).
Return: (Bool|undefined)
Parameters:
None
Overloads:
None
- GitHub
- BitBucket
-
GitLab
Craydent is released under the Dual licensed under the MIT or GPL Version 2 licenses.