Function
nullableType
(schema: Record<string, unknown>)
Source from the content-addressed store, hash-verified
| 189 | schema.type === "array" || (Array.isArray(schema.type) && schema.type.includes("array")); |
| 190 | |
| 191 | const nullableType = (schema: Record<string, unknown>): boolean => |
| 192 | Array.isArray(schema.type) && schema.type.includes("null"); |
| 193 | |
| 194 | const isMultipartMediaType = (mediaType: string): boolean => |
| 195 | normalizedMediaType(mediaType) === "multipart/form-data"; |
Tested by
no test coverage detected