The Basics
Importing Libraries
Traditional Variables
Magic Variables
Global Variables
Strings
Declared Metadata
Property Modifier
Key Modifier
Type Casting
If & Else Statments
Repeat & Repeat Each
Functions & Macros
Menus
Since variables in Jelly have no specific type when they are declared, you will need to tell some functions how they should treat a variable. To get started add the following syntax after a variable
.as(<#Casting Type#>)
. This will tell Jelly how it should treat the given variable.
An example of this in action, is creating a variable named textInput
and assigning it to the Shortcut Input as text. This will create a variable that maps to the Shortcut Input casted to Text
var textInput = Shortcut Input.as(Text)