Skip to content

API Reference / @gtkx/runtime / typeIsA

Function: typeIsA() ​

typeIsA(type, ancestorType): boolean

Defined in: packages/runtime/src/type.ts:138

Returns whether type is ancestorType or descends from it.

Parameters ​

type ​

bigint

ancestorType ​

bigint

Returns ​

boolean