-
Notifications
You must be signed in to change notification settings - Fork 0
tail
Subhajit Sahu edited this page Dec 28, 2022
·
13 revisions
Get ilists without its first entry (default order).
function tail(x)
// x: ilists
const xilists = require('extra-ilists');
var x = [['a', 'b', 'c'], [1, 2, 3]];
xilists.tail(x).map(c => [...c]);
// → [ [ 'b', 'c' ], [ 2, 3 ] ]
var x = [['a'], [1]];
xilists.tail(x).map(c => [...c]);
// → [ [], [] ]