MCPcopy Create free account
hub / github.com/arktypeio/arktype / test

Method test

ark/regex/regex.ts:91–91  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

89 flags: ctx["flags"] extends Flags ? ctx["flags"] : ""
90
91 test(s: string): s is pattern
92
93 exec(s: string): this["inferExecArray"] | null
94 // allow extension of base RegExp with more accurate types

Callers 15

narrowToNamedTestFilesFunction · 0.80
getCompletionsFunction · 0.80
assertions.tsFile · 0.80
cli.test.tsFile · 0.80
benchTemplate.tsFile · 0.80
getCompletionsFunction · 0.80
disableFunction · 0.80
compareFixtureFunction · 0.80
toSpansFunction · 0.80

Calls

no outgoing calls

Tested by 15

shardsRunningFunction · 0.64
externalizingFunction · 0.64
jsInFunction · 0.64
bundledFunction · 0.64
escapesOfFunction · 0.64
isInstalledFunction · 0.64
writesUnlikeCopyFunction · 0.64
programOfFunction · 0.64
isLeaflessFunction · 0.64
formsInFunction · 0.64
buildPerturbedFunction · 0.64
swapsOfFunction · 0.64