All files / src/utils is-point-3d.ts

1 2 3 4 5 6      2x 7x  
import { isPoint } from './is-point';
import { Point, Point3D } from '../types';
 
export const isPoint3D = (point: Point): point is Point3D =>
  isPoint(point) && point.hasOwnProperty('z');