ArangoXEcto.GeoData.sanitize

You're seeing just the function sanitize, go back to ArangoXEcto.GeoData module for more information.

Specs

sanitize(list() | {coordinate(), coordinate()}) ::
  list() | {coordinate(), coordinate()}

Sanitizes coordinates to ensure they are valid

This function is not automatically applied to Geo constructors and must be applied before hand