simple-squiggle

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

count.js (274B)


      1 export var countDocs = {
      2   name: 'count',
      3   category: 'Matrix',
      4   syntax: ['count(x)'],
      5   description: 'Count the number of elements of a matrix, array or string.',
      6   examples: ['a = [1, 2; 3, 4; 5, 6]', 'count(a)', 'size(a)', 'count("hello world")'],
      7   seealso: ['size']
      8 };