blob: 05fdee2c3debda91e5c8e1324c62069f6c05558a [file] [log] [blame]
'use strict';
var isFunction = require('./is-function');
module.exports = function (x) {
if (!isFunction(x)) throw new TypeError(x + " is not a function");
return x;
};