annotation class Restrict(val min: Short = Short.MIN_VALUE, val max: Short = Short.MAX_VALUE) Annotation-driven validation for Shorts
Author
fzzyhmstrs
Since
0.2.0
Parameters
: Short - minimum allowable value, default to Short.MIN_VALUE
: Short - maximum allowable value, default to Short.MAX_VALUE