subtype
subtype(
t1,t2):boolean
Defined in: packages/core/src/candid/idl.ts:2535
Subtyping on Candid types t1 <: t2 (Exported for testing)
Parameters
Section titled “Parameters”The potential subtype
The potential supertype
Returns
Section titled “Returns”boolean