UNPKG

crocks

Version:

A collection of well known Algebraic Datatypes for your utter enjoyment.

10 lines (7 loc) 237 B
/** @license ISC License (c) copyright 2016 original and current authors */ /** @author Ian Hofmann-Hicks (evil) */ // isFunction : a -> Boolean function isFunction(fn) { return typeof fn === 'function' } module.exports = isFunction