plainfp - v0.1.0
    Preparing search index...

    Function endsWith

    • Check whether a string ends with a suffix. Dual-form: call with both arguments for a direct result, or with just the suffix for a pipe-friendly predicate.

      Parameters

      • s: string
      • suffix: string

      Returns boolean

    • Check whether a string ends with a suffix. Dual-form: call with both arguments for a direct result, or with just the suffix for a pipe-friendly predicate.

      Parameters

      • suffix: string

      Returns (s: string) => boolean