Skip to main content

IsScriptZipped

This function was added in DSL 4

Description

Returns if Script's collection or the running collection is a zipped collection.

function IsScriptZipped(script) --[[ ... ]] end

Parameters

  • script: userdata|script - The script object. userdata if checked with type(script), script if checked with type2(script).

Return Values

  • zipped: boolean - If the script's collection or the running collection is a zipped collection.

Example

print(IsScriptZipped(GetCurrentScript()))

See Also