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

Function writeInvalidLocaleMessage

ark/schema/config.ts:303–304  ·  view source on GitHub ↗
(locale: unknown)

Source from the content-addressed store, hash-verified

301}
302
303export const writeInvalidLocaleMessage = (locale: unknown): string =>
304 `locale must be a Locale or a function returning one (was ${printable(locale)})`
305
306export const mergeConfigs = <base extends ArkSchemaConfig>(
307 base: base,

Callers 2

locale.test.tsFile · 0.90
configureSchemaFunction · 0.85

Calls 1

printableFunction · 0.90

Tested by

no test coverage detected