functai for TypeScript - v0.1.0
    Preparing search index...

    Function quotesFound

    • Whether each quote is in the text, word for word. White space, case, curly and straight quotes, dashes and a quote's own surrounding quotation marks and final punctuation do not count; any other difference does (a changed word, a paraphrase, an invented sentence). Deterministic, and costs nothing. For one quote, whether it is found; for a list, one answer per quote.

      Parameters

      • text: string
      • quotes: string

      Returns boolean

    • Whether each quote is in the text, word for word. White space, case, curly and straight quotes, dashes and a quote's own surrounding quotation marks and final punctuation do not count; any other difference does (a changed word, a paraphrase, an invented sentence). Deterministic, and costs nothing. For one quote, whether it is found; for a list, one answer per quote.

      Parameters

      • text: string
      • quotes: Iterable<string>

      Returns boolean[]