Detect anyOf: [T, { type: "null" }] → nullable T. Returns the non-null schema and a nullable flag.
anyOf: [T, { type: "null" }]
Detect
anyOf: [T, { type: "null" }]→ nullable T. Returns the non-null schema and a nullable flag.