Skip to content

Commit

Permalink
Reference: in(fold): reorder in and inFold
Browse files Browse the repository at this point in the history
  • Loading branch information
H1nr1 authored Feb 10, 2025
1 parent 3988ab2 commit 7fa5e4d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions content/docs/reference/templates/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2221,21 +2221,21 @@ Places commas to separate groups of thousands in a number.

- `number`: the number to format. Must be an int or a string. Must be a whole number.

#### inFold
#### in

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

Same as [in](#in), but is case-insensitive. List can be a slice or string.
Returns whether the case-sensitive `value` is in the provided list. List can be a slice or string.

#### in
#### inFold

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

Returns whether the case-sensitive `value` is in the provided list. List can be a slice or string.
Same as [in](#in), but is case-insensitive. List can be a slice or string.

#### index

Expand Down

0 comments on commit 7fa5e4d

Please sign in to comment.