doesJobExist

Bridge.doesJobExist(job, grade)

Arguments

  • job (string): The job name.

  • grade (number): The job grade.

Returns

  • exists (boolean): True if the job and grade exist, otherwise false.

Example Usage

local exists = Bridge.doesJobExist("police", 2)

print("Job Exists: " .. tostring(exists))

Return Structure

If job and grade are valid:

true or false

If job and grade are not valid:

false

Last updated