function styled
source · line 46public
public fun <T : ToString> T.styled(style: ContentStyle = ContentStyle()): StyledContent<T>
Extension receiver: T
Pairs the receiver with a style for later ANSI serialization.
parameter style
source · line 46public
style: ContentStyle = ContentStyle()
parameter receiver
source · line 46public
T
type parameter T
source · line 46public
T : ToString
Extensions
public fun <T : ToString> T.styled(style: ContentStyle = ContentStyle()): StyledContent<T>· scoop:scoop.terminal:0.1.0