@nevware21/ts-utils
    Preparing search index...

    Function strEndsWithAny

    • Checks whether the string ends with any of the provided search values.

      Parameters

      • value: string

        The string value to be checked.

      • searchValues: ArrayLike<string>

        An array-like list of values to check at the end of the string.

      • Optionallength: number

        If provided, it is used as the length of value. Defaults to value.length.

      Returns boolean

      True if any value matches at the end; otherwise false.

      0.14.0

      TypeError If value is null or undefined.