TagCollection.get

Gets the value of a tag in the collection.

class TagCollection(string tagName = "tags")
T
get
(
T = string
)
(
string name
,
lazy T defaultValue = T.init
)

Parameters

name string

The name of the tag.

defaultValue T

The default value to return if the tag doesn't exist.

Return Value

Type: T

The value of the tag, else the default value.

Meta