mirror of https://github.com/vapor/docs.git
Added index parameter name
This commit is contained in:
parent
ad9c0fa286
commit
ab132c73e0
|
|
@ -85,7 +85,7 @@ Hello, #(name)!
|
|||
Hello, #(friend.name)!
|
||||
}
|
||||
```
|
||||
#### Index: `#index(object, Int|String)`
|
||||
#### Index: `#index(object, _ index: Int|String)`
|
||||
|
||||
```
|
||||
Hello, #index(friends, 0)!
|
||||
|
|
|
|||
Loading…
Reference in New Issue