ODTextCommandBuilderNumberOption interface
under construction
We are still working the API Reference! This page might be incomplete or doesn't contain all details!
Overview
The number option builder for text commands.
References
Properties
optional allowDecimal boolean ➜ boolean
Allow a number with decimal
optional allowNegative boolean ➜ boolean
Allow the number to be negative
optional allowPositive boolean ➜ boolean
Allow the number to be positive
optional allowZero boolean ➜ boolean
Allow the number to be zero
optional max number ➜ number
The number can't be higher than this value
optional min number ➜ number
The number can't be lower than this value
inherited name string ➜ string
The name of this option
inherited optional required boolean ➜ boolean
Is this option required? (optional options can only exist at the end of the command!)
type type ➜ "number"
The type of this option