IsPackageStarted

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
IsPackageStarted

Type: Function
Context: Server
Introduced: v1.0

Description

Checks whether a package is started.

Syntax

IsPackageStarted(PackageName)

Parameters

  • PackageName
    The name of the package.

Return Value

  • Returns true if the package is started.

Example

local packageName = "dev"
print("Package state: " .. (IsPackageStarted(packageName) and "ON" or "OFF"))

See also