Skip to content

API Reference / @gtkx/runtime / typeIsA

Function: typeIsA()

typeIsA(type, ancestorType): boolean

Defined in: packages/runtime/dist/type.d.ts:64

Returns whether type is ancestorType or descends from it.

Parameters

type

bigint

ancestorType

bigint

Returns

boolean

Released under the MPL-2.0 License.