UNPKG

relay-runtime

Version:

A core runtime for building GraphQL-driven applications.

6 lines (5 loc) 196 B
'use strict'; function isLiveStateValue(v) { return v != null && typeof v === 'object' && typeof v.read === 'function' && typeof v.subscribe === 'function'; } module.exports = isLiveStateValue;