(schema: Record<string, unknown>)
| 183 | }; |
| 184 | |
| 185 | const binaryStringSchema = (schema: Record<string, unknown>): boolean => |
| 186 | stringType(schema) && (schema.format === "binary" || schema.format === "byte"); |
| 187 | |
| 188 | const arrayType = (schema: Record<string, unknown>): boolean => |
| 189 | schema.type === "array" || (Array.isArray(schema.type) && schema.type.includes("array")); |
no test coverage detected