Signature: print(value: any) -> int

Description: Prints a value to the console. Automatically converts the value to a string representation.

Parameters #

  • value (any): The value to print

Returns: int

Example #

print("Hello, World!")  // Prints: Hello, World!
print(42)             // Prints: 42
print(true)           // Prints: true