Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/arktypeio/arktype
/ test
Method
test
ark/regex/regex.ts:36–36 ·
view source on GitHub ↗
(s: string)
Source
from the content-addressed store, hash-verified
34
flags: ctx[
"flags"
] extends Flags ? ctx[
"flags"
] :
""
35
36
test(s: string): s is pattern
37
38
exec(s: string): this[
"inferExecArray"
] | null
39
// allow extension of base RegExp with more accurate types
Callers
15
getCompletions
Function · 0.80
assertions.ts
File · 0.80
benchExpectedOutput.ts
File · 0.80
benchTemplate.ts
File · 0.80
patchC8.cjs
File · 0.80
isBalanced
Function · 0.80
tryParseDatePattern
Function · 0.80
stringIsIntegerLike
Function · 0.80
walkPaths
Function · 0.80
fs.ts
File · 0.80
getLocationWithOffset
Function · 0.80
isDotAccessible
Function · 0.80
Calls
no outgoing calls
Tested by
1
stringIsIntegerLike
Function · 0.64