Skip to content

API Reference / @gtkx/testing / queryByDisplayValue

Variable: queryByDisplayValue

const queryByDisplayValue: BuiltinQueries["queryByDisplayValue"]

Defined in: packages/testing/dist/queries.d.ts:141

Returns the single mapped widget with a matching display value, or null when none match. Widgets that are not mapped are never matched. Throws when more than one matches.

Released under the MPL-2.0 License.