UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.

11 lines (9 loc) 186 B
'use strict'; /** * Test whether value is a boolean * @param {*} value * @return {boolean} isBoolean */ exports.isBoolean = function(value) { return typeof value == 'boolean'; };