diff --git a/BeefLibs/corlib/src/Nullable.bf b/BeefLibs/corlib/src/Nullable.bf index 6830b790..1210b9e6 100644 --- a/BeefLibs/corlib/src/Nullable.bf +++ b/BeefLibs/corlib/src/Nullable.bf @@ -70,6 +70,12 @@ namespace System outValue = mValue; return true; } + + public bool TryGetValue(out T outValue) + { + outValue = mValue; + return mHasValue; + } public T GetValueOrDefault(T defaultValue) {