Hyperlinkv0.8.0-beta.28

Unify

Unify.typeSymboltypeeffect/Unify.ts:74
typeof typeSymbol

Defines the unique symbol used to identify the type information for unification.

When to use

Use when you need a type-level protocol key that exposes the source type read by Unify from a protocol-enabled data type.

Details

This symbol is a type-level protocol key. It stores the source type that unification reads when widening protocol-enabled values.

Source effect/Unify.ts:7420 lines
export declare const typeSymbol: unique symbol

/**
 * The type of the typeSymbol.
 *
 * **When to use**
 *
 * Use to reference the type information property key in type-level protocol
 * definitions.
 *
 * **Details**
 *
 * This type represents the unique symbol used for storing type information
 * in types that support unification. It's used in type-level operations
 * to access and manipulate type information.
 *
 * @category symbols
 * @since 2.0.0
 */
export type typeSymbol = typeof typeSymbol
Referenced by 19 symbols