ArchiveObject.expectAttributeAs

Helper function to get a attribute, or throw an exception if the attribute doesn't exist.

class ArchiveObject
final
T
expectAttributeAs
(
T
)
(
string name
)

Parameters

name string

The name of the attribute to get.

Return Value

Type: T

The attribute.

Meta