@yookue/ts-lang-utils
    Preparing search index...

    Function includesAnyIgnoreCase

    • Returns whether the given text includes to any of the comparison strings, case-insensitive

      Parameters

      • Optionaltext: null | string

        the source string to check

      • Optionalcomparisons: (undefined | null | string)[]

        the target strings to compare

      Returns boolean

      whether the text includes the comparison string, case-insensitive

      David Hsing

      includesAnyIgnoreCase('foobar', ['FOO', 'world']);    // true