Provides default values, such that an empty sequence, string, option, false boolean, or null will render the default value.
Provides the @defining language feature, that lets you set a local val that can be reused.
Provides the @defining language feature, that lets you set a local val that can be reused.
The defined val.
The block to handle it.
Adds "truthiness" to iterables, making them false if they are empty.
Adds "truthiness" to options, making them false if they are empty.
Adds "truthiness" to strings, making them false if they are empty.
Provides the @using language feature.
Imports that provide Twirl language features.
This includes:
- @defining - @using - iterable/option/string as boolean for if statements - default values (maybeFoo ? defaultFoo)