is-empty.js 202 B

12345678
  1. "use strict";
  2. var ensureArray = require("../../object/ensure-array")
  3. , firstIndex = require("./first-index");
  4. module.exports = function () {
  5. return firstIndex.call(ensureArray(this)) === null;
  6. };