Universal Robots TypeScript API - v10.12.0
    Preparing search index...

    Function isURSymbol

    • Legacy type guard for any URSymbol instance.

      MIGRATION NOTE: The new symbol system does not have a single root type; instead you work directly with distinct declaration/reference/description interfaces (e.g. VariableDeclaration, FunctionReference). Refactor logic that depends on a common base class to instead branch on the presence of the new discriminator properties (like _IDENTIFIER) or on known interface shapes. Do not attempt a 1:1 guard replacement.

      Parameters

      • item: any

      Returns item is URSymbol

      Refactor to use the new interface-based symbols; remove broad symbol guards.