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

    • T

    Parameters

    • hit: T

    Returns hit is T & SolveResultSampleXYZ