Tries to cast a value to given Specs, throwing a GenerateException if the value cannot be cast.
The value to cast.
The specs to cast to.
The casted value as a MatchingOutput for the given Specs.
Generated using TypeDoc
Tries to cast a value to given Specs, throwing a GenerateException if the value cannot be cast.