IsReference

From the Fallout3 GECK Wiki
Revision as of 19:50, 19 July 2014 by imported>Odessa (expanded)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

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

[help]
(bool) IsReference reference:ref

Example

if IsReference RefVar
    ; it is safe to proceed
endif

See Also