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

Function parseVariants

ark/jetbrains/scripts/dumpTokens.ts:151–154  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

149}
150
151export const parseVariants = (value: string | undefined): boolean[] =>
152 value === "both" ? [true, false]
153 : value === "false" ? [false]
154 : [true]
155
156if (import.meta.main) {
157 const args = process.argv.slice(2)

Callers 2

diffEngine.tsFile · 0.90
dumpTokens.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected