@f/is-function

1.1.1 • Public • Published

is-function

Build status Git tag NPM version Code style

Test whether a given value is a function.

Installation

$ npm install @f/is-function

Usage

var isFunction = require('@f/is-function')

isFunction() // => false
isFunction(true) // => false
isFunction({}) // => false
isFunction(function () {}) // => true

API

isFunction(value)

  • value - value to test

Returns: boolean

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @f/is-function

Weekly Downloads

602

Version

1.1.1

License

MIT

Last publish

Collaborators

  • f