• Convert an unknown value to T if the guard provided is validating the unknown value.

    Type Parameters

    • T

    Parameters

    • guard: Type<T, T, unknown>
    • aValue: unknown

    Returns T