gleam/javascript/array

Types

pub external type Array(element)

Functions

pub external fn fold(Array(e), a, fn(a, e) -> a) -> a
pub external fn fold_right(Array(e), a, fn(a, e) -> a) -> a
pub external fn from_list(List(element)) -> Array(element)
pub external fn get(Array(e), Int) -> Result(e, Nil)
pub external fn length(Array(element)) -> Int
pub external fn map(Array(a), fn(a) -> b) -> Array(b)
pub external fn to_list(Array(element)) -> List(element)
Search Document