Skip to content

Function: strContainsAny() ​

strContainsAny(haystack, needles): boolean

Defined in: src/formatters.ts:98

Determine if a string contains any of the given values.

Parameters ​

haystack ​

string

The string to search in

needles ​

string[]

The values to search for

Returns ​

boolean

True if any value is found

Documentation of 1.0.13 , built from cf61d3b on 1.0.13 by pipeline #2985011498 on 2026-10-21.