# ArgDescription.isOptional property · @imqueue/rpc

Source: https://imqueue.org/api/rpc/latest/rpc.argdescription.isoptional/
Published: 2026-08-04
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/rpc 3.5.3 — generated reference, not hand-written

Whether the argument was documented as optional, i.e. written `[name]` in the JSDoc. A TypeScript `?` or a default value alone does not set this.

**Signature:**

```typescript
isOptional: boolean;
```

## Remarks

Affects the service's argument-count check: as soon as one argument is optional, any call with at most the declared number of arguments is accepted — including calls that omit required ones.

