mathjs
Version:
Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
14 lines (13 loc) • 552 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.printDocs = void 0;
const printDocs = exports.printDocs = {
name: 'print',
category: 'Utils',
syntax: ['print(template, values)', 'print(template, values, precision)'],
description: 'Interpolate values into a string template.',
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: $1, $2, $3", [6, 9, 4])'],
seealso: ['format']
};
;