# SemanticQuery

Source: /tuil/docs/reference/packages/testing/api/semantic-query
Locale: en

interface exported by @mwillbanks/tuil-testing.



{/* Generated by tooling/docs/generate-reference.ts. */}

## interface [#interface]

Public interface exported by `@mwillbanks/tuil-testing`.

```ts
export interface SemanticQuery {
  readonly name?: string | RegExp;
  readonly selected?: boolean;
  readonly checked?: boolean;
  readonly disabled?: boolean;
}
```

## Members [#members]

| Member     | Type                            | Required | Description                                                          | Related types |
| ---------- | ------------------------------- | -------- | -------------------------------------------------------------------- | ------------- |
| `name`     | `string \| RegExp \| undefined` | No       | The `name` member uses the `string \| RegExp \| undefined` contract. | —             |
| `selected` | `boolean \| undefined`          | No       | The `selected` member uses the `boolean \| undefined` contract.      | —             |
| `checked`  | `boolean \| undefined`          | No       | The `checked` member uses the `boolean \| undefined` contract.       | —             |
| `disabled` | `boolean \| undefined`          | No       | The `disabled` member uses the `boolean \| undefined` contract.      | —             |

## Parameters [#parameters]

This declaration has no public members.

## Returns [#returns]

This declaration does not return a value.

## Throws [#throws]

No thrown errors are documented for this declaration.

## Related types [#related-types]

No package-local related types.

## Source [#source]

[View the secondary source reference](https://github.com/mwillbanks/tuil/blob/main/packages/testing/src/index.ts)

## Package [#package]

[@mwillbanks/tuil-testing](/tuil/docs/reference/packages/testing)
