MCPcopy Index your code
hub / github.com/zenstackhq/zenstack / find

Method find

packages/orm/src/utils/schema-utils.ts:87–91  ·  view source on GitHub ↗
(expr: Expression)

Source from the content-addressed store, hash-verified

85 }
86
87 find(expr: Expression) {
88 this.found = false;
89 this.visit(expr);
90 return this.found;
91 }
92
93 override visit(expr: Expression) {
94 if (this.predicate(expr)) {

Callers 15

mixin.test.tsFile · 0.80
delegate.test.tsFile · 0.80
getAttributeFunction · 0.80
getDataSourceProviderFunction · 0.80
getRecursiveBasesFunction · 0.80
getModelIdFieldsFunction · 0.80
getModelUniqueFieldsFunction · 0.80
getUniqueFieldsFunction · 0.80
getAttributeArgFunction · 0.80
getAuthDeclFunction · 0.80

Calls 1

visitMethod · 0.95

Tested by

no test coverage detected