Contents

isInstance(_:)

Validates that the provided value matches this definition’s type.

Declaration

func isInstance(_ value: Self.Instance) throws

Parameters

  • value:

    The value to validate.

Discussion

If validation fails, this method throws an error.