variable definition in swift code example
Example 1: swift how to make a variable
// To create a variable type 'var' 'varName' = '"String" or Int'
var wallet = 100
var name = Joe
Example 2: swift function in a variable
var pendingFunction: ((Double, Double) -> Double)