Predefined function reference

auto_input

A reference entry for auto_input

Predefined function · io

auto_input (string message) ⇒ mixed

Gets a user input from the command line and converts it the appropriate data type.

YASS
while (true) {
  print(type(auto_input("Please insert a value to get its type.")))
}