Preparing search index...
The search index is not available
Documentation
Documentation
@orca-so/whirlpools-core
getTickIndexInArray
Function getTickIndexInArray
getTickIndexInArray
(
tick_index
:
number
,
tick_array_start_index
:
number
,
tick_spacing
:
number
,
)
:
number
Get the index of a tick in a tick array.
Parameters
tick_index
- A i32 integer representing the tick index
tick_array_start_index
- A i32 integer representing the start tick index of the tick array
tick_spacing
- A u16 integer representing the tick spacing
Returns
A u32 integer representing the tick index in the tick array
Parameters
tick_index
:
number
tick_array_start_index
:
number
tick_spacing
:
number
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Parameters
Returns
Documentation
Loading...
Get the index of a tick in a tick array.
Parameters
tick_index
- A i32 integer representing the tick indextick_array_start_index
- A i32 integer representing the start tick index of the tick arraytick_spacing
- A u16 integer representing the tick spacingReturns