UNPKG

data-provider-temporary

Version:

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

10 lines (6 loc) 193 B
"use strict"; var isValue = require("./is-value"); var map = { function: true, object: true }; module.exports = function (value) { return (isValue(value) && map[typeof value]) || false; };