Options
All
  • Public
  • Public/Protected
  • All
Menu

Module syntax

Index

Functions

  • arrIncludes(arr: string[], v: string): boolean
  • Case insensitive implementation of Array.includes.

    Parameters

    • arr: string[]

      Accepted values

    • v: string

      Searched string

    Returns boolean

    if a includes b

  • eq(a: string, b: string): boolean
  • Case insensitive implementation of the === operator.

    Parameters

    • a: string

      First value

    • b: string

      Second value

    Returns boolean

    if a and b are equal

  • parseWords(query: string): Word[]
  • Parse words from a query string.

    throws

    SyntaxError This exception is thrown when there was an error parsing the query.

    Parameters

    • query: string

      Expression of conditions

    Returns Word[]

    the ordered sequence of words

Generated using TypeDoc