List » elements
elements() → array
Retrieve the items of this list as Field
elements (instead of
their direct values) in sequential order.
enonumbers:
- 6
- 8
- 19
javascriptconst list = eno.parse(input).element('numbers');
list.elements();
// returns [ [object Field value="6"], [object Field value="8"], [object Field value="19"] ]
Return value
An array containing the items of this list as Field
elements.