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

Function isNativeVersion

ark/aot/declareNative.ts:86–87  ·  view source on GitHub ↗
(version: string)

Source from the content-addressed store, hash-verified

84
85// TypeScript 7.0 has no API
86const isNativeVersion = (version: string) =>
87 /^(?:7\.(?:[1-9]|\d{2,})|(?:[89]|\d{2,})\.)/.test(version)
88
89// the native checker installed, tsrs where its binary is
90export const installedNativeChecker = (

Callers 2

installedNativeCheckerFunction · 0.85
loadNativeFunction · 0.85

Calls 1

testMethod · 0.80

Tested by

no test coverage detected