map

fun map(transform: (String) -> String): Message

Applies the given transform to each line of the message

Return

The message with the transform applied

Parameters

transform

Transform to apply