Skip to content

subtype

subtype(t1, t2): boolean

Defined in: packages/core/src/candid/idl.ts:2535

Subtyping on Candid types t1 <: t2 (Exported for testing)

Type

The potential subtype

Type

The potential supertype

boolean