simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

isPositive.js (477B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.isPositiveDocs = void 0;
      7 var isPositiveDocs = {
      8   name: 'isPositive',
      9   category: 'Utils',
     10   syntax: ['isPositive(x)'],
     11   description: 'Test whether a value is positive: larger than zero.',
     12   examples: ['isPositive(2)', 'isPositive(0)', 'isPositive(-4)', 'isPositive([3, 0.5, -2])'],
     13   seealso: ['isInteger', 'isNumeric', 'isNegative', 'isZero']
     14 };
     15 exports.isPositiveDocs = isPositiveDocs;