UNPKG

data-provider-temporary

Version:

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

9 lines (6 loc) 153 B
'use strict'; var isMap = require('./is-map'); module.exports = function (x) { if (!isMap(x)) throw new TypeError(x + " is not a Map"); return x; };