Fixed typo & added help for #index

This commit is contained in:
Tom Holland 2016-12-27 10:10:45 -08:00
parent e4ff1872b8
commit e39c53cd0e
1 changed files with 3 additions and 2 deletions

View File

@ -85,10 +85,11 @@ Hello, #(name)!
Hello, #(friend.name)! Hello, #(friend.name)!
} }
``` ```
#### Index: `#loop(object, "index")` #### Index: `#index(object, Int|String)`
``` ```
Hello, #index(friends, "0")! Hello, #index(friends, 0)!
Hello, #index(friends, "best")!
``` ```
#### If - Else: `#if(bool) ##else() { this }` #### If - Else: `#if(bool) ##else() { this }`