Skip to content
Still using @dfinity/agent? Migrate to @icp-sdk/core!

subtype

subtype(t1, t2): boolean

Defined in: packages/candid/src/idl.ts:2443

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

Type

The potential subtype

Type

The potential supertype

boolean