array
Creates an array property definition.
Example
property("tags") {
array {
description = "List of tags"
minItems = 1
maxItems = 10
ofString()
}
}Content copied to clipboard
Return
A configured ArrayPropertyDefinition
Parameters
block
Configuration for the array property