boolean

Creates a boolean property definition.

Example

property("enabled") {
boolean {
description = "Feature enabled"
default = true
}
}

Return

A configured BooleanPropertyDefinition

Parameters

block

Configuration for the boolean property

See also