Sha256: 83ebe56a172367021ab02f5a970a843dbf103a76842fcbf86b5d448d6f08f48f
Contents?: true
Size: 266 Bytes
Versions: 44
Compression:
Stored size: 266 Bytes
Contents
"use strict"; var safeToString = require("../safe-to-string") , isPlainObject = require("./is-plain-object"); module.exports = function (value) { if (!isPlainObject(value)) throw new TypeError(safeToString(value) + " is not a plain object"); return value; };
Version data entries
44 entries across 44 versions & 2 rubygems