UNPKG

data-provider-temporary

Version:

Library that helps with server-to-client synchronization of data

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; };