(js: JsonSchema.JsonSchema, predicate: (key: string) => boolean)
| 258 | const isAnnotation = (key: string): boolean => annotationKeys.has(key) || key.startsWith("x-") |
| 259 | |
| 260 | const pick = (js: JsonSchema.JsonSchema, predicate: (key: string) => boolean): JsonSchema.JsonSchema => |
| 261 | Record.filter(js, (_, key) => predicate(key)) |
| 262 | |
| 263 | /** Object constraints and annotations only; no typed `additionalProperties`. */ |
| 264 | const isPlainObject = (js: JsonSchema.JsonSchema): boolean => |
no test coverage detected