schangxiang@126.com
2025-09-18 4b02d54422910170d2cedabf6866b6e6bec20dac
1
2
3
4
5
6
7
8
"use strict";
 
var isFunction = require("./is-function");
 
module.exports = function (value) {
    if (!isFunction(value)) throw new TypeError(value + " is not a function");
    return value;
};