TwirlFeatureImports
Imports that provide Twirl language features.
This includes:
- @defining
- @using
- iterable/option/string as boolean for if statements
- default values (maybeFoo ? defaultFoo)
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TwirlFeatureImports.type
Members list
Type members
Classlikes
Provides default values, such that an empty sequence, string, option, false boolean, or null will render the default value.
Provides default values, such that an empty sequence, string, option, false boolean, or null will render the default value.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
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.
Value parameters
- handler
-
The block to handle it.
- t
-
The defined val.
Attributes
Provides the @using language feature.
Provides the @using language feature.
Attributes
Implicits
Implicits
Provides default values, such that an empty sequence, string, option, false boolean, or null will render the default value.
Provides default values, such that an empty sequence, string, option, false boolean, or null will render the default value.
Attributes
Adds "truthiness" to iterables, making them false if they are empty.
Adds "truthiness" to iterables, making them false if they are empty.
Attributes
Adds "truthiness" to options, making them false if they are empty.
Adds "truthiness" to options, making them false if they are empty.
Attributes
Adds "truthiness" to strings, making them false if they are empty.
Adds "truthiness" to strings, making them false if they are empty.