jobExists
Description
Checks whether a job with the given name exists in QBCore's shared jobs.
Parameters
jobName(string): The name of the job to check (e.g.,"police").
Return Value
Returns
trueif the job exists.Returns
falseif the job does not exist.
Example Use Case
if ps.jobExists("taxi") then
    print("The 'taxi' job is available.")
else
    print("The 'taxi' job does not exist.")
endLast updated