Interpretation of the app.requires values

In version 10.0, the recognition for input types has been improved.
Depending on the kind of default value, the value is recognized as String, Number or Boolean.


app.requires("type", true)

will be handled as Boolean and therefore shows a checkbox in the ask-at-runtime dialog in the user interface.

app.requires("type", "true")   or   app.requires("type", "1")
 will be recognized as String and therefore a text input field is shown in the user interface.

app.requires("type", 1)

will be handled as Numbers with an input field in the user interface, which is restricted to numerical values.