Modules
Version
Shared

lib.checkDependency

Check if a resource is using a specified version or higher, allowing for compatibility checks or throwing errors.

lib.checkDependency(resource, version)
  • resource: string
  • version: string
if not lib.checkDependency('ox_lib', '1.5.0') then error() end