4 lines
104 B
JavaScript
4 lines
104 B
JavaScript
const isPoint = (point) => point.hasOwnProperty('x') && point.hasOwnProperty('y');
|
|
|
|
export { isPoint };
|