All files / src/utils is-point.ts

1 2 3 4 5    3x 15x  
import { Point } from '../types';
 
export const isPoint = (point: Object): point is Point =>
  point.hasOwnProperty('x') && point.hasOwnProperty('y');