Range

data class Range(val min: Int, val max: Int, val step: Int, val unit: String, val scale: Double = 1.0) : CommandInput(source)

Constructors

Link copied to clipboard
constructor(min: Int, max: Int, step: Int, unit: String, scale: Double = 1.0)

Properties

Link copied to clipboard
open override val kind: String
Link copied to clipboard
val max: Int
Link copied to clipboard
val min: Int
Link copied to clipboard
Link copied to clipboard
val step: Int
Link copied to clipboard

Functions

Link copied to clipboard
open override fun validationError(value: CommandValue): String?

A value-free explanation, or null when the input satisfies this contract.