Global

Methods

find(wordopt) → {Object.<string, array.<object>>}

Source:

find all values or a given value in the paragraphs

Example
var result = context.find('the');
   /* result is
     {
       the:
         [{ entry: 0, index: 1 },
          { entry: 0, index: 1 }]
     }
   /*
Parameters:
Name Type Attributes Description
word String <optional>

a word to search for, if not passed, find all words

Returns:
  • the response is an hash map of arrays that contains objects
Type
Object.<string, array.<object>>