mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-11 17:55:39 +00:00
Change "array" to "expression"
This commit is contained in:
parent
dac9524a80
commit
4ca0f6a7a1
@ -4,7 +4,7 @@ This returns `true` if the context contains the passed in parameter, and false o
|
|||||||
|
|
||||||
{% hint style="warning" %}
|
{% hint style="warning" %}
|
||||||
|
|
||||||
_Note_ that, just like jq, when checking if an array of strings `contains` another, this will use `contains` and _not_ equals to check each string. This means an array like `contains(["cat"])` will return true for an array `["cats"]`.
|
_Note_ that, just like jq, when checking if an array of strings `contains` another, this will use `contains` and _not_ equals to check each string. This means an expression like `contains(["cat"])` will return true for an array `["cats"]`.
|
||||||
|
|
||||||
See the "Array has a subset array" example below on how to check for a subset.
|
See the "Array has a subset array" example below on how to check for a subset.
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@ This returns `true` if the context contains the passed in parameter, and false o
|
|||||||
|
|
||||||
{% hint style="warning" %}
|
{% hint style="warning" %}
|
||||||
|
|
||||||
_Note_ that, just like jq, when checking if an array of strings `contains` another, this will use `contains` and _not_ equals to check each string. This means an array like `contains(["cat"])` will return true for an array `["cats"]`.
|
_Note_ that, just like jq, when checking if an array of strings `contains` another, this will use `contains` and _not_ equals to check each string. This means an expression like `contains(["cat"])` will return true for an array `["cats"]`.
|
||||||
|
|
||||||
See the "Array has a subset array" example below on how to check for a subset.
|
See the "Array has a subset array" example below on how to check for a subset.
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user