UNPKG

lml-main

Version:

This is now a mono repository published into many standalone packages.

9 lines (6 loc) 189 B
"use strict"; var isFunction = require("./is-function"); module.exports = function (value) { if (!isFunction(value)) throw new TypeError(value + " is not a function"); return value; };