Skip to content

Commit

Permalink
Clean up docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zix99 committed Jun 5, 2024
1 parent aff0c32 commit 68e0cc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified docs/cli-help.md
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/usage/expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,15 +326,15 @@ Creates an array with the provided elements. Use `{@}` for an array of all match

#### @len

Syntax: `{@len array}`
Syntax: `{@len <arr>}`

Returns the length of an array. Empty "" returns 0, a literal will be 1.

**Note:** This is a linear-time operation.

#### @in

Syntax: `{@in <val> array}` or `{@in <val> {@ val0 val1 val2 ...}}`
Syntax: `{@in <val> <arr>}` or `{@in <val> {@ val0 val1 val2 ...}}`

Returns truthy if a given `val` is contained within the array.

Expand Down

0 comments on commit 68e0cc9

Please sign in to comment.