isXAndY MethodStatic

Type guard for XAndY.

isXAndY(arg: any): arg is Readonly<WritableXAndY>

note this will return true for an XYAndZ. If you wish to distinguish between the two, call isXYAndZ first.

Parameter Type Description
arg any  

Returns - arg is Readonly<WritableXAndY>

Defined in

Last Updated: 30 November, 2023