pjs.setFound()



The pjs.setFound() API sets the internal found value. The internal found value can be retrieved with the pjs.found() API.

Parameters
  1. Value (boolean)

Example
var pos = 0;   pos = 'ABC'.scan('B', start); pjs.setFound(pos > 0);   return pjs.found(); //true