MCPcopy
hub / github.com/apache/pouchdb / evalFilter

Function evalFilter

lib/index.es.js:3901–3905  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

3899}
3900
3901function evalFilter(input) {
3902 var code = '(function() {\n"use strict";\nreturn ' + input + '\n})()';
3903
3904 return vm.runInNewContext(code);
3905}
3906
3907function evalView(input) {
3908 var code = [

Callers 1

filterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…