Tanguv0.35.0
Text & i18n1 exports
Raw Markdown

/text

Human-readable text formatting, title/sentence capitalization, and line wrapping utilities.

(use /text)

Functions & symbols#

capitalize#

function
(capitalize text) -> String

Uppercases the first character of `text` and leaves remaining characters unchanged.

ParameterTypeOptionalDescription
textStringrequiredInput string
Returns:Any
(text/capitalize "tangu") ; -> "Tangu"