UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

22 lines (21 loc) 429 B
module.exports = { 'name': 'boolean', 'category': 'Construction', 'syntax': [ 'x', 'boolean(x)' ], 'description': 'Convert a string or number into a boolean.', 'examples': [ 'boolean(0)', 'boolean(1)', 'boolean(3)', 'boolean("true")', 'boolean("false")', 'boolean([1, 0, 1, 1])' ], 'seealso': [ 'bignumber', 'complex', 'index', 'matrix', 'number', 'string', 'unit' ] }