Limits

Limits

data class Limits

This is a data class that represents the limits of a Limits object.

Fields

Name Description
val min: Long
val max: Long?

Constructors

<init>

constructor(min: Long, max: Long?)

This is a data class that represents the limits of a Limits object.

Parameters

Name Description
min: Long
max: Long?

Extensions

validate

fun Limits.validate(range: Long, context: ValidationContext): ValidationContext

Validates a Limits node.

Receiver

Name Description
Limits

Parameters

Name Description
range: Long
context: ValidationContext

ReturnValue

Name Description
ValidationContext