Skip to content

isFunction

Determine if a value is a Function

67 bytes

Usage

Pass in a value and get a boolean telling you if the value is a function.

import * as _ from 'radashi'
_.isFunction('hello') // => false
_.isFunction(['hello']) // => false
_.isFunction(() => 'hello') // => true