JSPM

@f/is-function

1.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 798
  • Score
    100M100P100Q103495F
  • License MIT

Test whether a given value is a function.

Package Exports

  • @f/is-function

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@f/is-function) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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