# Module `POLITICAL_PARTY_LIST_SCRIPT_INTERFACE`

List interface for campaign political parties.

## Functions

num_items () | Returns the number of political parties in this list.
item_at (index) | Returns the political party at a zero-based index, or nil when out of bounds.
is_empty () | Returns whether this political party list is empty.

## Functions

num_items ()
  Returns the number of political parties in this list.

  ### Returns:

  integer number of parties
item_at (index)
  Returns the political party at a zero-based index, or nil when out of bounds.

  ### Parameters:

  - index integer zero-based list index

  ### Returns:

  userdata CAMPAIGNPOLITICALPARTY or nil
is_empty ()
  Returns whether this political party list is empty.

  ### Returns:

  boolean true when the list has no parties

generated by LDoc 1.5.0