Skip to content

isMiddle()

Description

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

Syntax

JS
isMiddle(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 middle in the engine.

Example

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

Also See

Last update: 14 August 2025, 18:47