source/selectors.js
function createFilterFunction (resource) {
  return resource.has instanceof Function
    ? id => resource.has(id)
    : id => resource[id]
}
function createFilterFunction (resource) {
  return resource.has instanceof Function
    ? id => resource.has(id)
    : id => resource[id]
}
function createFilterFunction ( resource ) { return resource . has instanceof Function ? id => resource . has ( id ) : id => resource [ id ] }
Creates a default filter function capable of handling Maps and Objects.
Creates a default filter function capable of handling Maps and Objects .