• Asserts that the value is valid for the specified shape

    Type Parameters

    • I

    Parameters

    • shape: Shape<I, unknown>
    • value: unknown

    Returns asserts value is I