pjs.setFound()
The pjs.setFound() API sets the internal found value. The internal found value can be retrieved with the pjs.found() API.
Parameters
Value (boolean)
Example
var pos = 0;
Â
pos = 'ABC'.scan('B', start);
pjs.setFound(pos > 0);
Â
return pjs.found();
//true
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!