ToBoolean.js 139 Bytes Raw Blame History Permalink 1 2 3 4 5 'use strict'; // http://www.ecma-international.org/ecma-262/5.1/#sec-9.2 module.exports = function ToBoolean(value) { return !!value; };