method
View.Default
Default returns the configured typed literal default. List defaults use canonical JSON arrays. Dynamic defaults are executable policies and are not evaluated by this reader.
Returns
The declared result.
(DefaultValue, bool)Full signature
func (d View) Default() (
DefaultValue,
bool,
)Related types
ViewView is a read-only snapshot of a canonical immutable node. Its readers detach mutable values; author fields through their concrete fluent facades.
DefaultValueDefaultValue is the normalized literal value produced by Default.