Skip to content

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') // => false
isFunction(['hello']) // => false
isFunction(() => 'hello') // => true