isAnyImmediatePointType MethodStatic

Test if arg is any of:

  • XAndY
  • XYAndZ
  • [number,number]
  • [number,number,number]

isAnyImmediatePointType(arg: any): arg is number[] | Readonly<WritableXAndY> | Readonly<WritableXYAndZ>

Parameter Type Description
arg any  

Returns - arg is number[] | Readonly<WritableXAndY> | Readonly<WritableXYAndZ>

Defined in

Last Updated: 28 October, 2024