-
Notifications
You must be signed in to change notification settings - Fork 0
size
Subhajit Sahu edited this page Dec 22, 2022
·
13 revisions
Find the length of an iterable.
function size(x, i?, I?)
// x: an iterable
// i: start index [0]
// I: end index [END]
const entries = require('extra-entries');
var x = [["a", 1], ["b", 2], ["c", 3]];
entries.size(x);
// → 3