position try from
Mojo function 🡭
position_try_from
Section titled “position_try_from”fn def position_try_from(value: UInt64) -> Optional[Position]Create a Position if value >= 1 (1-based), else None (aligned with noodles_core).
Args:
- value (
UInt64)
Returns:
Optional[Position]