ClientValidator

interface ClientValidator

A validator that should be registered with AkkurateConfig.registerValidator.

Inheritors

Types

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

A validator for Validator.Runner instances.

Link copied to clipboard

Functions

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

Validates the value.