m3e/selected

Types

Selected is a custom type to handle TypeScript fields with type “string | readonly string[] | null”

pub type Selected {
  One(value: String)
  Many(values: List(String))
  None
}

Constructors

  • One(value: String)
  • Many(values: List(String))
  • None

Values

pub const default_selected: Selected
pub fn to_string(s: Selected) -> String
Search Document