MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / partOf

Function partOf

src/compute-engine/assume.ts:1022–1027  ·  view source on GitHub ↗
(term: Expression)

Source from the content-addressed store, hash-verified

1020 if (type !== 'unknown') {
1021 ce.declare(undefs[0], type);
1022 recordDeclaredByAssumption(ce, undefs[0], proposition);
1023 return 'ok';
1024 }
1025 // The domain does not map to a type: fall through to storing the
1026 // assumption verbatim (used to throw "Invalid domain")
1027 }
1028 if (undefs.length > 0) {
1029 ce.context.assumptions.set(proposition, true);
1030 return 'ok';

Callers 1

partBoundSubjectFunction · 0.85

Calls 2

isFunctionFunction · 0.90
subjectOfFunction · 0.90

Tested by

no test coverage detected