• Get the initializable tick index. If the tick index is already initializable, it is returned as is.

    Parameters

    • tick_index - A i32 integer representing the tick integer
    • tick_spacing - A i32 integer representing the tick spacing
    • round_up - A boolean value indicating if the supplied tick index should be rounded up. None will round to the nearest.

    Returns

    • A i32 integer representing the previous initializable tick index

    Parameters

    • tick_index: number
    • tick_spacing: number
    • Optionalround_up: null | boolean

    Returns number