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

Function evalFilter

lib/index.js:3906–3910  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

3904}
3905
3906function evalFilter(input) {
3907 var code = '(function() {\n"use strict";\nreturn ' + input + '\n})()';
3908
3909 return vm.runInNewContext(code);
3910}
3911
3912function evalView(input) {
3913 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…