open-index/open-npm huggingface dataset:
npm package: @is-(unknown)/is-function
Description: Check if a value's a function.
Author: me
Latest version: 1.0.3

# `@is-(unknown)/is-function`

check if something's a function

## usage:

```js
const assert = require("assert-fn")

const isFunction = require("@is-(unknown)/is-function")

assert(isFunction(function(){}))
assert(isFunction(()=>{}))
assert(isFunction(function*(){}))
assert(isFunction(async function(){}))

assert(!isFunction("not a function"))
```