getValue static method
dynamic
getValue(
- dynamic obj
Gets a real object value. If object is a wrapper, it unwraps the value behind it. Otherwise it returns the same object value.
obj
an object to unwrap.. Returns an actual (unwrapped) object value.
Implementation
static dynamic getValue(obj) {
if (obj is IValueWrapper) return obj.innerValue();
return obj;
}