heyuntao
2023-07-03 741672790a5dc06e2e078b29451458f779985c59
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]'
    );
}