-
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 ilists is empty.
function isEmpty(x)
// x: ilists
const xilists = require('extra-ilists');
var x = [['a', 'b', 'c'], [1, 2, 3]];
xilists.isEmpty(x);
// → false
var x = [[], []];
xilists.isEmpty(x);
// → true