Sha256: 74509e621ef797e7374f781478b29a515ca66ccf26e8c3fe9aa7ea1c0e9f59b5
Contents?: true
Size: 306 Bytes
Versions: 7
Compression:
Stored size: 306 Bytes
Contents
var isCallable = require('../internals/is-callable'); var tryToString = require('../internals/try-to-string'); // `Assert: IsCallable(argument) is true` module.exports = function (argument) { if (isCallable(argument)) return argument; throw TypeError(tryToString(argument) + ' is not a function'); };
Version data entries
7 entries across 7 versions & 1 rubygems