List.PushResult

Inherits from Variant

Description

A class that represents the result of a call to List.push().

The List.PushResult can be treated just like a Variant.

Properties

entries The resulting entries, if any exist.

Details

Do no remove, this fixes the anchor on doc.flexsim.com

List.PushResult.entries

readonly entries

Description

The resulting entries, if any exist.

If the pushed object is not immediately pulled, an entry is created. This property gives access to that entry if one exists.

List.PushResult result = List("ItemList").push(item);
result.entries.length // Number of entries just pushed
result.entries[1] // A reference to the first entry just pushed on the list