Skip to main content

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