getInputs()

返回方法指定的變量 addInput

Description

用於方法 onInitonUpdate.
變量是通過解構獲得的,並且希望它們是常量,以避免更改它們。

Example

// 獲取NBars和PriceType變量以進一步使用它們
const {NBars, PriceType} = this.getInputs()