Validator

constructor(targetType: KClass<T>)

Parameters

targetType

the KClass of T, used for documentation/introspection

Type Parameters

T

the type of value this validator accepts