Extend 09-object-types.md with argument array

Add a small snippet demonstrating how to define an argument array instead of a simple string.
This commit is contained in:
Jack 2018-10-16 11:40:00 +02:00 committed by GitHub
parent 3cccc9d9b8
commit 99a4ee0ad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -230,6 +230,12 @@ Argument order:
..., -3, -2, -1, <un-ordered keys>, 1, 2, 3, ...
```
Define argument array:
```
value = "[ 'one', 'two', 'three' ]"
```
Argument array with `repeat_key = true`:
```