as1 property

X1 get as1

Return the value if it has type X1, otherwise throw.

Implementation

X1 get as1 => value as X1;