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

Function walk

scripts/fungrim/load.ts:195–200  ·  view source on GitHub ↗
(x: unknown)

Source from the content-addressed store, hash-verified

193export function inferType(dom: unknown): string {
194 if (typeof dom === 'string') {
195 if (
196 [
197 'Integers',
198 'NonNegativeIntegers',
199 'PositiveIntegers',
200 'NonPositiveIntegers',
201 'NegativeIntegers',
202 'Primes',
203 ].includes(dom)

Callers 4

variableTypesFunction · 0.70
variableDomainsFunction · 0.70
readCorpusDocsFunction · 0.50

Calls 2

inferTypeFunction · 0.85
paramsOfFunction · 0.85

Tested by

no test coverage detected