See MazamaCoreUtils::validateLonsLats for details.

validateLonsLats(longitude = NULL, latitude = NULL, na.rm = FALSE)