simple-squiggle

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

format.js (414B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.formatDocs = void 0;
      7 var formatDocs = {
      8   name: 'format',
      9   category: 'Utils',
     10   syntax: ['format(value)', 'format(value, precision)'],
     11   description: 'Format a value of any type as string.',
     12   examples: ['format(2.3)', 'format(3 - 4i)', 'format([])', 'format(pi, 3)'],
     13   seealso: ['print']
     14 };
     15 exports.formatDocs = formatDocs;