UNPKG

falcor-router

Version:

A router DataSource constructor for falcor that allows you to model all your cloud data sources as a single JSON resource.

4 lines (3 loc) 117 B
module.exports = function isRange(range) { return range.hasOwnProperty('to') && range.hasOwnProperty('from'); };