- Found in:
- Vanilla
Description
Wiki Description
Clears this alias and returns whether anything was in it to begin with.
Documentation Comment
Convenience function - sjml
Caveats
Examples
; Clear the alias
if OptionalAlias.TryToClear()
Debug.Trace("Removed something from the alias")
else
Debug.Trace("Didn't remove anything from the alias (already empty)")
endIfAuto-Generated Example
bool returnedValue = myReferenceAlias__toCallFunctionOn.TryToClear()Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
