Nodejs Utililty Methods Function Type Check

List of utility methods to do Function Type Check

Description

The list of methods to do Function Type Check are organized into topic(s).

Method

isFunction(functionToCheck)
function isFunction(functionToCheck) {
    var getType = {};
     return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';