/** * @fileoverview Check whether the given variable is a function or not. * @author NHN FE Development Lab */ 'use strict'; /** * Check whether the given variable is a function or not. * If the given variable is a function, return true. * @param {*} obj - Target for checking * @returns {boolean} Is function? * @memberof module:type */ function isFunction(obj) { return obj instanceof Function; } module.exports = isFunction;