Type guard for checking if solve result has properties of a SampleXYZ.
Can be used as if condition or to satisfy types before accessing properties:
hit.sample
hit.color
hit.size
hit.lookupValue
Type guard for checking if solve result has properties of a SampleXYZ.
Can be used as if condition or to satisfy types before accessing properties:
hit.samplehit.colorhit.sizehit.lookupValue