pub fn process_exists(pid: i64) -> bool
What: Whether a process with this PID exists; a permission denial means it does. Why: processExists.
processExists
In TS you’d write (pseudocode):
function processExists(pid: number): boolean;