leafCount.js (451B)
1 "use strict"; 2 3 Object.defineProperty(exports, "__esModule", { 4 value: true 5 }); 6 exports.leafCountDocs = void 0; 7 var leafCountDocs = { 8 name: 'leafCount', 9 category: 'Algebra', 10 syntax: ['leafCount(expr)'], 11 description: 'Computes the number of leaves in the parse tree of the given expression', 12 examples: ['leafCount("e^(i*pi)-1")', 'leafCount(parse("{a: 22/7, b: 10^(1/2)}"))'], 13 seealso: ['simplify'] 14 }; 15 exports.leafCountDocs = leafCountDocs;