Type guard for checking if solve result has properties of a SampleXY.
Can be used as if condition or to satisfy types before accessing properties:
hit.rotation
hit.color
hit.id
hit.size
hit.lookupValue
Type guard for checking if solve result has properties of a SampleXY.
Can be used as if condition or to satisfy types before accessing properties:
hit.rotationhit.colorhit.idhit.sizehit.lookupValue