OxL Reference

method bool.toString

"true" or "false".

Example:

oxl✓ checked in CI
fn main() io {
  print(true.toString())
}
Output
true
pub(api) fn toString() -> str

Since. 1.0.0-beta

Returns

str

Effects

none declared (pure unless the body says otherwise)

Defined in: std/core/text.oxl:987

See also