Skip to content
Subhajit Sahu edited this page Dec 28, 2022 · 15 revisions

Find the size of lists.

Similar: size, isEmpty.


function size(x)
// x: lists
const xlists = require('extra-lists');

var x = [['a', 'b', 'c'], [1, 2, 3]];
xlists.size(x);
// → 3


References

Clone this wiki locally