isPoint
Returns true if the provided value has an x and y property.
Import
import { isPoint } from '@popmotion/popcorn';Usage
isPoint(0); // false
isPoint({ x: 0, y: 0 }); // trueTypes
isPoint(v: any): boolean;isPointReturns true if the provided value has an x and y property.
import { isPoint } from '@popmotion/popcorn';isPoint(0); // false
isPoint({ x: 0, y: 0 }); // trueisPoint(v: any): boolean;