Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: ushort OrDefaultTo(ushort)

  • Declared in: RT.KitchenSink.Collections.RVariant

Declaration

public ushort OrDefaultTo(
    ushort defaultValue
)

Summary

Treating this node as a Value, returns the value converted to a ushort or the default value specified by defaultValue if the conversion is not possible. Also returns the default value if this node is not of a Value type.