-
Notifications
You must be signed in to change notification settings - Fork 0
isEmpty
Subhajit Sahu edited this page Dec 28, 2022
·
14 revisions
Check if lists is empty.
function isEmpty(x)
// x: lists
const xlists = require('extra-lists');
var x = [['a', 'b', 'c'], [1, 2, 3]];
xlists.isEmpty(x);
// → false
var x = [[], []];
xlists.isEmpty(x);
// → true