Skip to content

@gtkx/testing / TextMatchFunction

Type Alias: TextMatchFunction

TextMatchFunction = (content, widget) => boolean

Defined in: types.ts:12

Custom function for matching text content.

Parameters

ParameterTypeDescription
contentstringThe normalized text content to match against
widgetGtk.WidgetThe widget being tested

Returns

boolean

true if the content matches