process.exists
Checks if a specified process exists within the model.
js
process.exists(process)Parameters
process(string): The name or id of the process to be checked.
Returns
boolean: Returnstrueif the process exists, otherwisefalse.
Examples
js
// Check if a process exists.
var doesExist = process.exists("yourProcess");
console.log(doesExist); // true or false