diff --git a/pkg/yqlib/doc/operators/contains.md b/pkg/yqlib/doc/operators/contains.md index dfdd5a04..157b50d6 100644 --- a/pkg/yqlib/doc/operators/contains.md +++ b/pkg/yqlib/doc/operators/contains.md @@ -4,7 +4,7 @@ This returns `true` if the context contains the passed in parameter, and false o {% 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. diff --git a/pkg/yqlib/doc/operators/headers/contains.md b/pkg/yqlib/doc/operators/headers/contains.md index fad851e6..d987261d 100644 --- a/pkg/yqlib/doc/operators/headers/contains.md +++ b/pkg/yqlib/doc/operators/headers/contains.md @@ -4,7 +4,7 @@ This returns `true` if the context contains the passed in parameter, and false o {% 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.