Skip to content

API Reference / @gtkx/runtime / valueIsA

Function: valueIsA()

valueIsA(value, gtype): boolean

Defined in: runtime/dist/type.d.ts:70

Returns whether value is a typed wrapper whose GType is or descends from gtype.

Parameters

value

unknown

gtype

bigint

Returns

boolean

Released under the MPL-2.0 License.