UNPKG

vanilla-type-check

Version:
13 lines (12 loc) 311 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Check if a value is a Function * * @param value value to check * @returns `true` if `obj` is a function */ function isFunction(value) { return typeof value === 'function'; } exports.isFunction = isFunction;