format module
Maylang standard-library module.
import "format" as format;
Functions
format_percent
fun format_percent(value: Float, digits: Int) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
format_bytes
fun format_bytes(n: Int) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
format_duration
fun format_duration(seconds: Int) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
format_row
fun format_row(cells: List<Str>, widths: List<Int>) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
format_table
fun format_table<T>(headers: List<Str>, rows: List<List<T>>) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
format_kv
fun format_kv<V>(data: Map<Str, V>, width: Int) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
format_ansi
fun format_ansi(text: Str, code: Int) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
format_bold
fun format_bold(text: Str) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
format_dim
fun format_dim(text: Str) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
format_color
fun format_color(text: Str, color: Int) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source