isDropdown

Check if StringProperty is a dropdown based on the oneOf field.

val property = StringProperty(
oneOf = arrayListOf(PropertyValue(const = "", title = ""))
)
val isDropdown = property.isDropdown()

Return

true if the StringProperty is a dropdown