Method ValueOrDefault
ValueOrDefault()
Gets the value of this field.
public object? ValueOrDefault()
Returns
- object
The value associated with this GffResourceField. Returns null if the value is a list or struct.
ValueOrDefault<T>()
Gets the value of this field.
public T? ValueOrDefault<T>()
Returns
- T
The value associated with this GffResourceField. Returns null if the value is a list or struct, or does not match the specified type.
Type Parameters
T