Skip to content

Commit

Permalink
Reference: in(Fold): use 'sequence' rather than 'list' in command syn…
Browse files Browse the repository at this point in the history
…tax and descriptions
  • Loading branch information
H1nr1 authored Feb 11, 2025
1 parent 7fa5e4d commit 118a199
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions content/docs/reference/templates/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2224,18 +2224,17 @@ Places commas to separate groups of thousands in a number.
#### in

```yag
{{ $result := in <list> <value> }}
{{ $result := in <sequence> <value> }}
```

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

#### inFold

```yag
{{ $result := inFold <list> <value> }}
{{ $result := inFold <sequence> <value> }}
```

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

#### index

Expand Down

0 comments on commit 118a199

Please sign in to comment.