zhaojs
2023-06-09 859358e3177166e87e29538a4df0cff5cdb3117e
1
2
3
4
5
6
export default function isFunction(input) {
    return (
        (typeof Function !== 'undefined' && input instanceof Function) ||
        Object.prototype.toString.call(input) === '[object Function]'
    );
}