gleamy_lights/helper

Values

pub fn println(str: String) -> Nil

Deprecated: Use the console module instead.

println

A simple function to print a string to the console. This function is a drop-in for the println function, so that JS colour support is ensured, even on browsers.

Mainly meant for packages that are ran everywhere, like Gleam libraries.

If you stay in the console just use the gleam/io module. There’s no need to use this function then.

Note: Nested colours are not supported.

Search Document