1///|
2pub fn[Any] 
(msg : String) -> Any
alert
(
String
msg
:
String
String
) ->

type parameter Any

Any
{
3
(input : String) -> Unit

Prints any value that implements the Show trait to the standard output, followed by a newline.

Parameters:

  • value : The value to be printed. Must implement the Show trait.

Example:

  println(42)
  println("Hello, World!")
  println([1, 2, 3])
println
(
String
msg
)
4
() -> Any
panic
()
5} 6