Client API
hasGang
Client API for REC_Core, with configuration and implementation details.
- Added
- Updated
Client side
Match gang names and optional grades.
| Argument | Type | Description |
|---|---|---|
gang | string|string[] | One gang name or a list of accepted names. |
grades | table<integer, true>|integer[]? | Set or list of accepted grade levels; nil or an empty table allows all. |
A trailing ? marks an optional argument.
Returns boolean.
exports.REC_Core:hasGang(gang, grades)
