isInstanceOf

The validatable value must be an instance of type parameter R when this constraint is applied.

Code example:

val validate = Validator<Any> { isInstanceOf<String>() }
validate("foo") // Success
validate(123) // Failure (message: Must be an instance of "kotlin.String")