Skip to content

mapping

mapping tracks type-parameter substitutions during checker unification.

new mapping(): mapping

mapping

add(from, to): void

add records a substitution from one type to another.

Type

Type

void


copy(): mapping

copy clones the current mapping.

mapping


find(from): [Type | undefined, boolean]

find returns a substitution when one is present.

Type

[Type | undefined, boolean]