rubico
Version:
[a]synchronous functional programming
18 lines (14 loc) • 548 B
JavaScript
/**
* rubico v2.6.2
* https://github.com/a-synchronous/rubico
* (c) 2019-2024 Richard Tong
* rubico may be freely distributed under the MIT license.
*/
(function (root, isFunction) {
if (typeof module == 'object') (module.exports = isFunction) // CommonJS
else if (typeof define == 'function') define(() => isFunction) // AMD
else (root.isFunction = isFunction) // Browser
}(typeof globalThis == 'object' ? globalThis : this, (function () { 'use strict'
const isFunction = value => typeof value == 'function'
return isFunction
}())))