Core ApiFunctionsnullSafePointOn this pagenullSafePoint nullSafePoint(p): PointXY If the given point p is not null and neither p.x nor p.y are NaN, returns p. Otherwise, returns a point with x and y both set to 0. Parameters p PointXY Returns PointXY