isFunction
Basic usage
Pass in a value and get a boolean telling you if the value is a function.
import { isFunction } from 'radash'
isFunction('hello') // => falseisFunction(['hello']) // => falseisFunction(() => 'hello') // => true
Pass in a value and get a boolean telling you if the value is a function.
import { isFunction } from 'radash'
isFunction('hello') // => falseisFunction(['hello']) // => falseisFunction(() => 'hello') // => true