Clear - Array

From the Fallout4 CreationKit Wiki
Revision as of 21:25, 1 March 2018 by imported>Qazaaq (added category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: All Arrays

Removes all items from the array, reducing it to a 0-length array.

Syntax[edit | edit source]

Function Clear() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

None

Examples[edit | edit source]

MyStringArray.Clear()

; In this case, ["Hello", "world"] would become []

See Also[edit | edit source]