is-empty.js 201 Bytes Raw Blame History Permalink 1 2 3 4 5 6 "use strict"; var ensureArray = require("../../object/ensure-array") , firstIndex = require("./first-index"); module.exports = function () { return firstIndex.call(ensureArray(this)) === null; };