Skip to content

isUpper()

Description

true if in the motor, there is an upper element of a stator.

Syntax

JS
isUpper(itemID: Number) -> Boolean

Parameters

Parameter Type Mandatory Description
itemID Number ✅ Element stator ID.

Return value

Type Description
Boolean true, if in the motor, there is an upper element of a stator.

Example

JS
1
2
3
let stator = motor.stator
let result = stator.isUpper(StatorItem.ID1)
console.info(result)

See also

Last update: 14 August 2025, 18:47