API Reference / @gtkx/testing / queryByName
Variable: queryByName
constqueryByName:BuiltinQueries["queryByName"]
Defined in: packages/testing/dist/queries.d.ts:89
Returns the single mapped widget with a matching widget name, or null when none match. Widgets that are not mapped are never matched. Throws when more than one matches.