/**
 * Interface representing a Vector2.
 */ export interface Vector2Like { /**
     * The X position.
     */ x : number ; /**
     * The Y position.
     */ y : number ; } export function isVector2Like ( v ) { return v && typeof v . x === "number" && typeof v . y === "number" ; }