Skip to content

isUpper()

Description

true if the element of the rotor is upper in the engine.

Syntax

JS
isUpper(itemID: Number) -> Boolean

Parameters

Parameter Type Mandatory Description
itemID Number ✅ Element ID of the rotor.

Return value

Type Description
Boolean true, if the element of the rotor is upper in the engine.

Example

JS
1
2
3
let rotor = motor.rotor
let result = rotor.isUpper(RotorItem.ID1)
console.info(result)

See also

Last update: 14 August 2025, 18:47