Sha256: 7c911aacf0ffdb4dbb750e94b31264cf3ae2069e3a9df5dc4e4a73a7baaea70c
Contents?: true
Size: 303 Bytes
Versions: 30
Compression:
Stored size: 303 Bytes
Contents
"use strict"; var isValue = require("../value/is"); // prettier-ignore var possibleTypes = { "object": true, "function": true, "undefined": true /* document.all */ }; module.exports = function (value) { if (!isValue(value)) return false; return hasOwnProperty.call(possibleTypes, typeof value); };
Version data entries
30 entries across 29 versions & 2 rubygems