ArgDescription.isOptional property
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:
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.
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.