"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Longitude = void 0;

var _validators = require("./validators");

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */

/* Copyright (c) 2018 Mobify Research & Development Inc. All rights reserved. */

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */
var Longitude = (0, _validators.makeValidator)(function (x) {
  return typeof x === 'number' && x <= 180.0 && x >= -180.0;
}, 'Not a Longitude.');
/**
 * @memberOf module:@mobify/commerce-integrations/dist/types
 * @typedef {Number} Longitude
 */

exports.Longitude = Longitude;