get offsets
Mojo function 🡭
get_offsets
Section titled “get_offsets”fn get_offsets(ends: List[Int64], idx: Int) -> Tuple[Int, Int]Args:
- ends (
List[Int64]) - idx (
Int)
Returns:
Tuple[Int, Int]
fn get_offsets(ends: List[Int64], idx: Int) -> Tuple[Int, Int]Args:
- ends (
List[Int64]) - idx (
Int)
Returns:
Tuple[Int, Int]