QuickCborObject extension
An extension providing quick utility methods for handling CborObject instances.
- on
-
- CborObject
Methods
-
as<
T extends CborObject> ([String? name]) → T -
Available on CborObject, provided by the QuickCborObject extension
-
asMap<
T extends CborObject, E extends CborObject> ([String? name]) → CborMapValue< T, E> -
Available on CborObject, provided by the QuickCborObject extension
-
convertTo<
E, T extends CborObject> (E toe(T e)) → E -
Available on CborObject, provided by the QuickCborObject extension
-
hasType<
T> () → bool -
Available on CborObject, provided by the QuickCborObject extension
Checks whether the value stored in theCborObjecthas the specified typeT.