Skip to content

Subtype ​

Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand. No examples yet — the crosswalk is the reason it has a page.

True iff the FIRST operand is a subtype of the second — Subtype("integer", "number") is True, Subtype("number", "integer") is False. This is the same compatibility relation annotations and signatures use. Operands are type values or type text; a quantified (where) type is not comparable and errors.

Subtype(subtype: string | type, supertype: string | type) -> booleanas compute-engine declares it
Typed signatures
TypePackageApplies
(subtype: string | type, supertype: string | type) -> booleancompute-enginealways

Domain: Compute engine

About