sign.js (404B)
1 "use strict"; 2 3 Object.defineProperty(exports, "__esModule", { 4 value: true 5 }); 6 exports.signDocs = void 0; 7 var signDocs = { 8 name: 'sign', 9 category: 'Arithmetic', 10 syntax: ['sign(x)'], 11 description: 'Compute the sign of a value. The sign of a value x is 1 when x>1, -1 when x<0, and 0 when x=0.', 12 examples: ['sign(3.5)', 'sign(-4.2)', 'sign(0)'], 13 seealso: ['abs'] 14 }; 15 exports.signDocs = signDocs;