UNPKG

data-provider-temporary

Version:

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

6 lines (5 loc) 200 B
var isObject = require('./_is-object'); module.exports = function (it, TYPE) { if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); return it; };