Skip to content

PrintLnStdout

Void PrintLnStdout(ObjectType? message, String color = "green")

System · system operation · implicitly imported

Prints a message to the standard output, followed by a line break.

Parameters

  • ObjectType? message — The message to print; values that are not a String are converted to text.
  • String color = "green" — The text color: a color name (e.g. green, red) or a hex code starting with #.

Returns

Void — Returns no value.

Errors

A runtime type error if color is not a String. A runtime error if color is not a known color name or hex code.

See Also