Miscellaneous

info

Writes zero or more values as an informational message.

Syntax

info(...values?: ...any)

Arguments

NameTypeDescription
...values?...anyOptional values to print as an informational message.

Description

Writes zero or more values as an informational message. Values are converted to strings and separated with tab characters. The function returns no values.

Call it with 1 parameter(s): ...values. The argument table explains which values are required and which ones only refine the behavior.

It does not return data. Treat the call as an action and handle errors around the call site when needed.

Example

Write an informational message to the active console output.

info("Loaded", "scripts", 3)