Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "str"

Index

Functions

Functions

Const str

  • String-only version of seq. Returns Match.FULL once the entire given string could be matched.

    search string

    remarks

    Unless collect is true (default: false), only matches given string and does not collect input. Therefore then also only passes an empty string to fail callback. If collect is true, the failed callback will be called with the collected input.

    Type parameters

    • C

    • R

    Parameters

    • str: string
    • Optional success: LitCallback<string, C, R>

      success callback

    • Optional fail: LitCallback<string, C, R>

      failure callback

    • Default value collect: boolean = false

      true, if input is to be collected/buffered

    Returns Matcher<string, C, R>

Generated using TypeDoc