Aller au contenu principal

IsWrapper<S>

IsWrapper<S> = S extends object ? true : false

Checks if a schema is a wrapper schema.


Type Parameters

S: S

The schema type to check


Returns

true if the schema is a wrapper, false otherwise


Since

2.0.0