print.js 561 B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.printDocs = void 0;
  6. var printDocs = {
  7. name: 'print',
  8. category: 'Utils',
  9. syntax: ['print(template, values)', 'print(template, values, precision)'],
  10. description: 'Interpolate values into a string template.',
  11. examples: ['print("Lucy is $age years old", {age: 5})', 'print("The value of pi is $pi", {pi: pi}, 3)', 'print("Hello, $user.name!", {user: {name: "John"}})', 'print("Values: $0, $1, $2", [6, 9, 4])'],
  12. seealso: ['format']
  13. };
  14. exports.printDocs = printDocs;