UNPKG

data-provider-temporary

Version:

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

9 lines (6 loc) 182 B
"use strict"; var isValue = require("./is-value"); module.exports = function (value) { if (!isValue(value)) throw new TypeError("Cannot use null or undefined"); return value; };