RE:CORD
Client API

hasJob

Client API for REC_Core, with configuration and implementation details.
Added
Updated
Client side

Match job names, optional grades, and optional duty status.

ArgumentTypeDescription
jobstring|string[]One job name or a list of accepted names.
gradestable<integer, true>|integer[]?Set or list of accepted grade levels; nil or an empty table allows all.
onDutyOnlyboolean?Require an on-duty job when true.

A trailing ? marks an optional argument.

Returns boolean.

exports.REC_Core:hasJob(job, grades, onDutyOnly)
©2026 RE:CORD Development Group. All rights reserved.