print.js (561B)
1 "use strict"; 2 3 Object.defineProperty(exports, "__esModule", { 4 value: true 5 }); 6 exports.printDocs = void 0; 7 var printDocs = { 8 name: 'print', 9 category: 'Utils', 10 syntax: ['print(template, values)', 'print(template, values, precision)'], 11 description: 'Interpolate values into a string template.', 12 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])'], 13 seealso: ['format'] 14 }; 15 exports.printDocs = printDocs;