optionalValidatedByteProperty
fun optionalValidatedByteProperty(initialValue: Byte?, validation: (ValidatedProperty<Byte?>, Byte?, Byte?) -> Byte?): PropertyDelegate<Byte?, OptionalByteProperty>
A Kotlin delegate
to create an OptionalValidatedByteProperty. Typical usage :
val fooProperty by optionalValidatedByteProperty( initialValue ) { value -> ... }
var foo by fooProperty
Content copied to clipboard