Skip to content
JustGod edited this page Oct 28, 2023 · 1 revision

List

Constructor

(method) List:Constructor()

add

(method) List:add(value: any)
  -> List

at

(method) List:at(index: number)
  -> any

contains

(method) List:contains(callback: fun(value: any):boolean)
  -> boolean

data

table<number, any>

find

(method) List:find(callback: fun(value: any):boolean)
  -> any

forEach

(method) List:forEach(callback: fun(index: number, value: any))
  -> List

index

(method) List:index(value: any)
  -> number|nil

list

(method) List:list(callback: fun(index: number, value: any):any)
  -> List

remove

(method) List:remove(index: number)
  -> List

Clone this wiki locally