boolean
Creates a boolean property definition.
Example
property("enabled") {
boolean {
description = "Feature enabled"
default = true
}
}Content copied to clipboard
Return
A configured BooleanPropertyDefinition
Parameters
block
Configuration for the boolean property