Skip to content

Commit 118a199

Browse files
authored
Reference: in(Fold): use 'sequence' rather than 'list' in command syntax and descriptions
1 parent 7fa5e4d commit 118a199

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

content/docs/reference/templates/functions.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2224,18 +2224,17 @@ Places commas to separate groups of thousands in a number.
22242224
#### in
22252225

22262226
```yag
2227-
{{ $result := in <list> <value> }}
2227+
{{ $result := in <sequence> <value> }}
22282228
```
22292229

2230-
Returns whether the case-sensitive `value` is in the provided list. List can be a slice or string.
2230+
Returns whether the case-sensitive `value` is in the `sequence`. `sequence` can be a slice or string.
22312231

22322232
#### inFold
22332233

22342234
```yag
2235-
{{ $result := inFold <list> <value> }}
2235+
{{ $result := inFold <sequence> <value> }}
22362236
```
2237-
2238-
Same as [in](#in), but is case-insensitive. List can be a slice or string.
2237+
Same as [in](#in), but is case-insensitive. `sequence` can be a slice or string.
22392238

22402239
#### index
22412240

0 commit comments

Comments
 (0)