vlocode-project - v1.40.0-beta-4
    Preparing search index...

    Function endsWith

    • Checks if the specified string a ends with the specified string b. By default the comparison is case sensitive unless specified otherwise by setting the caseInsensitive option to true. If either string is null or undefined returns false.

      Parameters

      • a: undefined | null | string

        String a

      • b: undefined | null | string

        String b

      • Optionaloptions: { caseInsensitive: boolean }

        Options

        • caseInsensitive: boolean

          Whether or not to do a case insensitive or case-sensitive comparison

      Returns boolean