aprs.me/lib/aprsme_web/live/shared
Graham McIntire c90a76df04
refactor: CoordinateUtils.get_coordinates_from_mic_e uses guarded clauses
- get_coordinates_from_mic_e: replace two inline `if direction == ...`
  rebinds with a reusable apply_hemisphere_sign/3 helper; the final
  range check becomes maybe_return_coords/2 with a guarded clause that
  yields {lat, lon} or {nil, nil}.
- has_position_data?: the boolean short-circuit collapses from an
  explicit if/else to a single `or` expression.

All 37 CoordinateUtils tests (4 properties) still pass.
2026-04-23 15:03:09 -05:00
..
bounds_utils.ex clean up warnings 2025-07-16 08:55:46 -05:00
coordinate_utils.ex refactor: CoordinateUtils.get_coordinates_from_mic_e uses guarded clauses 2026-04-23 15:03:09 -05:00
packet_handler.ex refactor: collapse nested if/case into pattern-matched helpers 2026-04-23 13:55:11 -05:00
packet_utils.ex refactor: replace more cond expressions with guarded clauses 2026-04-23 14:12:45 -05:00
param_utils.ex clean up warnings 2025-07-16 08:55:46 -05:00