@metreeca/blue - v0.9.1
    Preparing search index...

    Function isUnion

    • Checks whether a value is a valid Union.

      Parameters

      • value: unknown

        The value to check

      Returns value is Union<{ readonly [variant: string]: ValueShape }>

      true if value has kind: "union" and a variants object mapping identifiers to value shapes; false otherwise