MCPcopy Create free account
hub / github.com/Effect-TS/effect / query

Method query

packages/effect/src/ui/testing/Scene.ts:232–232  ·  view source on GitHub ↗

The one element matching `locator` in the current view, or `undefined`. Throws when there are several.

(locator: Locator.Locator)

Source from the content-addressed store, hash-verified

230 get(locator: Locator.Locator): Locator.Node
231 /** The one element matching `locator` in the current view, or `undefined`. Throws when there are several. */
232 query(locator: Locator.Locator): Locator.Node | undefined
233 /** Every element matching `locator` in the current view, in document order. */
234 all(locator: Locator.Locator): ReadonlyArray<Locator.Node>
235

Callers 15

rooms.graphql.tsFile · 0.65
makeFunction · 0.65
ActiveStatementClass · 0.65
queryStreamFunction · 0.65
utils.tsFile · 0.65
mainFunction · 0.65

Calls

no outgoing calls

Tested by 4

queryFunction · 0.52
openFunction · 0.52
makeSceneFunction · 0.52
selectFunction · 0.52