Prompt Parameter types
What can you pass on to a function?
1 min read Last updated May 10, 2025
When using functions, there are four types of information that you can pass to functions. Some of these you will have seen in previous documentation.
You can pass on:
- Numbers:
wordsBefore(50)
- Strings:
uppercase("hello")
- Variables:
uppercase(message)
- Other function results:
uppercase(character.name)