is-empty.js 192 B

12345678
  1. "use strict";
  2. module.exports = function (t, a) {
  3. var x = {};
  4. a(t.call([]), true, "Empty");
  5. a(t.call({ length: 0 }), true, "Empty lists");
  6. a(t.call([1, x, "raz"]), false, "Non empty");
  7. };