Skip to content

Commit 3988ab2

Browse files
authored
Reference: in(fold): specify list can be slice or string
1 parent 11550b9 commit 3988ab2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/docs/reference/templates/functions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2227,15 +2227,15 @@ Places commas to separate groups of thousands in a number.
22272227
{{ $result := inFold <list> <value> }}
22282228
```
22292229

2230-
Same as [in](#in), but is case-insensitive.
2230+
Same as [in](#in), but is case-insensitive. List can be a slice or string.
22312231

22322232
#### in
22332233

22342234
```yag
22352235
{{ $result := in <list> <value> }}
22362236
```
22372237

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

22402240
#### index
22412241

0 commit comments

Comments
 (0)