import * as check from "../../../sync/check/number"; export function isPotentiallyUnsafeNumber (mixed : any) : mixed is number { return check.checkPotentiallyUnsafeNumber(mixed) === undefined; } export function isFiniteNumber (mixed : any) : mixed is number { return check.checkFiniteNumber(mixed) === undefined; } export function isInteger (mixed : any) : mixed is number { return check.checkInteger(mixed) === undefined; } export function isGreaterThan (mixed : any, x : number) : mixed is number { return check.checkGreaterThan(mixed, x) === undefined; } export function isGreaterThanOrEqual (mixed : any, x : number) : mixed is number { return check.checkGreaterThanOrEqual(mixed, x) === undefined; } export function isLessThan (mixed : any, x : number) : mixed is number { return check.checkLessThan(mixed, x) === undefined; } export function isLessThanOrEqual (mixed : any, x : number) : mixed is number { return check.checkLessThanOrEqual(mixed, x) === undefined; } export function isRange (mixed : any, args : { min? : number, max? : number }) : mixed is number { return check.checkRange(mixed, args) === undefined; } export function isPositive (mixed : any) : mixed is number { return check.checkPositive(mixed) === undefined; } export function isNegative (mixed : any) : mixed is number { return check.checkNegative(mixed) === undefined; } export function isNonNegative (mixed : any) : mixed is number { return check.checkNonNegative(mixed) === undefined; } export function isNaturalNumber (mixed : any) : mixed is number { return check.checkNaturalNumber(mixed) === undefined; } export function isOdd (mixed : any) : mixed is number { return check.checkOdd(mixed) === undefined; } export function isEven (mixed : any) : mixed is number { return check.checkEven(mixed) === undefined; } export function isNotOneOf (mixed : any, arr : T[]) : mixed is number { return check.checkNotOneOf(mixed, arr) === undefined; } export function isLatitude (mixed : any) : mixed is number { return check.checkLatitude(mixed) === undefined; } export function isLongitude (mixed : any) : mixed is number { return check.checkLongitude(mixed) === undefined; }