gleam/javascript

Types

pub type Reference(value)
pub type Symbol
pub type TypeOf {
  UndefinedType
  ObjectType
  BooleanType
  NumberType
  BigIntType
  StringType
  SymbolType
  FunctionType
}

Constructors

  • UndefinedType
  • ObjectType
  • BooleanType
  • NumberType
  • BigIntType
  • StringType
  • SymbolType
  • FunctionType

Functions

pub fn dereference(a: Reference(a)) -> a
pub fn get_symbol(a: String) -> Symbol
pub fn make_reference(a: a) -> Reference(a)
pub fn set_reference(a: Reference(a), b: a) -> a
pub fn type_of(a: a) -> TypeOf
pub fn update_reference(ref: Reference(a), f: fn(a) -> a) -> a
Search Document