Normalizes a schema to a non-boolean object form. true becomes an unconstrained schema ({}), false becomes undefined (nothing is allowed; treated as "no schema available").
true
{}
false
undefined
Normalizes a schema to a non-boolean object form.
truebecomes an unconstrained schema ({}),falsebecomesundefined(nothing is allowed; treated as "no schema available").