Skip to content

class zlist (client-side)

Available since version: 0.2.0

This class represents zCList/zCListSort classes from Gothic API.

Properties

No properties.


Methods

len

This method will number of elements inside list.

int len()

Returns int:

the size of the sequence.


isIn

This method will checks whether element is inside list.

bool isIn(any element)

Parameters:

  • any element: the element.

Returns bool:

true if element is inside list, otherwise false.


insert

This method will insert element to list.

void insert(any element)

Parameters:

  • any element: the element.

remove

This method will remove element from list if exists.

void remove(any element)

Parameters:

  • any element: the element.