We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Reads a text, and converts it to a boolean value.
boolean.parse(text); text: text to read // --> true if text => true
const boolean = require('extra-boolean'); boolean.parse('not true'); // false boolean.parse('inactive'); // false boolean.parse('not off'); // true boolean.parse('truthy'); // true