Return Types

Where possible, we use an internal system called "Minify" to auto-extract and assign all the various values a given target object may have and make them available via dynamically built ValMaps (dictionaries).

However, given the complex nature of Bonfire and Sparks, and the need to ensure Spark authors can control what can or cannot be changed, there are cases where we opt to selectively construct the ValMaps by hand.

Due to these forked approaches, you may notice some ValMaps follow a known pattern while others don't. This will be improved with time, but for now, it is just the nature of the early state of the language. When in doubt, use the print command to dump the contents of your variable to the Console so you can see the structure.

Last updated