Hyperlinkv0.8.0-beta.28

Unify

Unify.unifySymboltypeeffect/Unify.ts:35
typeof unifySymbol

Defines the unique symbol used to identify unification behavior in Effect types.

When to use

Use to define the widened type produced by the Unify protocol for a custom protocol-enabled data type.

Details

This symbol is a type-level protocol key. It describes how a protocol-enabled type widens during unification and has no runtime behavior.

Source effect/Unify.ts:3520 lines
export declare const unifySymbol: unique symbol

/**
 * The type of the unifySymbol.
 *
 * **When to use**
 *
 * Use to reference the unification behavior property key in type-level
 * protocol definitions.
 *
 * **Details**
 *
 * This type represents the unique symbol used for identifying unification
 * behavior in Effect types. It's typically used in type-level operations
 * to enable automatic type unification.
 *
 * @category symbols
 * @since 2.0.0
 */
export type unifySymbol = typeof unifySymbol
Referenced by 11 symbols