isInstance(_:)
Validates that the provided value matches this definition’s type.
Declaration
func isInstance(_ value: Self.Instance) throwsParameters
- value:
The value to validate.
Discussion
If validation fails, this method throws an error.
Validates that the provided value matches this definition’s type.
func isInstance(_ value: Self.Instance) throwsThe value to validate.
If validation fails, this method throws an error.