UNPKG

@mcabreradev/filter

Version:

A powerful, SQL-like array filtering library for TypeScript and JavaScript with advanced pattern matching, MongoDB-style operators, deep object comparison, and zero dependencies

4 lines (3 loc) 211 B
import type { GeoPoint } from '../../types/geospatial'; export declare function calculateDistance(p1: GeoPoint, p2: GeoPoint): number; export declare function isValidGeoPoint(point: unknown): point is GeoPoint;