Function xGetFromToIndex

  • Returns an object with {fromIndex, toIndex} for a specific from / to

    Parameters

    Returns { fromIndex: number; toIndex: number }