💾isFunction()

JSvaluescustom functions ⟩ isFunction()

check if value is a Function.

// ⭐️ check if value is a function
// - require: baseTypeName()
function isFunction(value) {
    return baseTypeName(value) === "Function";
}

Last updated