plainfp - v0.1.0
    Preparing search index...

    Function startsWith

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

      Parameters

      • s: string
      • prefix: string

      Returns boolean

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

      Parameters

      • prefix: string

      Returns (s: string) => boolean