sesaparcours
    Preparing search index...
    • Look up a variable on the given workspace. Always looks in the main workspace before looking in the flyout workspace. Always prefers lookup by ID to lookup by name + type.

      Parameters

      • workspace: Blockly.Workspace

        The workspace to search for the variable. It may be a flyout workspace or main workspace.

      • id: string

        The ID to use to look up the variable, or null.

      • Optionalopt_name: string

        The string to use to look up the variable. Only used if lookup by ID fails.

      • Optionalopt_type: string

        The type to use to look up the variable. Only used if lookup by ID fails.

      Returns Blockly.VariableModel

      The variable corresponding to the given ID or name + type combination, or null if not found.