• 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 Parameters

    • T

    Parameters

    • hit: T

    Returns hit is T & SolveResultSampleXY