Documentation Center

Command.getAvailable

Description

Returns true when the user can use the command and the button is shown. Unavailable commands are hidden from the user interface.

Syntax

Command.getAvailable (scope : Scope) : Boolean

Arguments

scope
Scope. The scope state.

Return Value

Boolean. Returns true when the command is available.