zhaojs
2023-06-28 ae644863e2549627c9762604ed72d6b3a1d9374c
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]'
    );
}