g.js
— graphical objects for JavaScript
Home
Get Started
Reference
About
Get started
Installation
Quick Start
Guides
Vector Graphics
Imaging
Geometry
Color
Lists
Math
Data
String
Animation
count
Count the number of items in the list.
g.count([1, 2, 3, 4, 5]);
Parameters
l
: The input list.
Related Guides
List Operations