Runner

class Runner<ValueType>(valueType: KClass<*>, validator: Validator.Runner<ValueType>) : ClientValidator

A validator for Validator.Runner instances.

Constructors

Link copied to clipboard
constructor(valueType: KClass<*>, validator: Validator.Runner<ValueType>)

Types

Link copied to clipboard
class WithContext<ContextType, ValueType>(valueType: KClass<*>, validator: Validator.Runner.WithContext<ContextType, ValueType>, contextProvider: suspend () -> ContextType) : ClientValidator

A validator for Validator.Runner.WithContext instances.

Functions

Link copied to clipboard
open suspend override fun validate(value: Any?)

Validates the value.