Function ensureNoUppercaseKeys
- ensureNoUppercaseKeys(path): ((allowList?: string[]) => ((data: JsonMap) => string[]))
Returns ((allowList?: string[]) => ((data: JsonMap) => string[]))
- (allowList?): ((data: JsonMap) => string[])
Returns ((data: JsonMap) => string[])
- (data): string[]
Returns string[]
will throw on any upperCase unless they are present in the allowList. Recursively searches the object, returning valid keys