@tempots/std

containsAllTextCaseInsensitive() function

containsAllTextCaseInsensitive returns true if s contains all of the strings in tests regardless of the text case

Signature:

containsAllTextCaseInsensitive: (s: string, tests: string[]) => boolean

Parameters

Parameter

Type

Description

s

string

The string to search in.

tests

string[]

The strings to search for.

Returns: boolean

true if s contains all of the strings in tests (case-insensitive), false otherwise.