Difference between revisions of "IsReference"

From GECK

(added likely use context)
(expanded)
Line 16: Line 16:
 
endif
 
endif
 
</pre>
 
</pre>
 +
==See Also==
 +
*[[IsFormValid]]
 +
*[[TypeOf]]
 +
*[[GetType]]
 +
*[[IsPersistent]]
 
[[Category:Debugging]]
 
[[Category:Debugging]]
 
[[Category:Functions_(FOSE)]]
 
[[Category:Functions_(FOSE)]]

Revision as of 19:50, 19 July 2014

A function added by the Fallout Script Extender.

Description

Returns True (1) if the passed ref variable stores a reference. Particularly useful for validation in cases where a non reference might cause a script to crash.

Syntax

(bool) IsReference reference:ref

Example

if IsReference RefVar
    ; it is safe to proceed
endif

See Also

Personal tools