Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: ulong OrDefaultTo(ulong)

  • Declared in: RT.KitchenSink.Collections.RVariant

Declaration

public ulong OrDefaultTo(
    ulong defaultValue
)

Summary

Treating this node as a Value, returns the value converted to a ulong 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.