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

    Function removeEqualsIgnoreCase

    • Returns the array that excludes the elements which equals to any of the given exclusions, case-insensitive

      Parameters

      • Optionaltexts: null | string[]

        the arrays to inspect

      • Optionalexcludes: null | string[]

        the elements array to exclude

      Returns undefined | null | string[]

      the array that excludes the elements which equals to any of the given exclusions, case-insensitive

      David Hsing

      removeEqualsIgnoreCase(['foo', 'bar'], ['BAR']);    // ['foo']