Skip to content

Endo API documentation - v0.2.0 / Exports / @endo/patterns / MethodGuardOptional

Interface: MethodGuardOptional ​

@endo/patterns.MethodGuardOptional

Table of contents ​

Properties ​

Properties ​

optional ​

• optional: (...optArgGuards: any[]) => MethodGuardRestReturns

Optional arguments not guarded with M.raw() are automatically hardened and must be Passable.

Type declaration ​

▸ (...optArgGuards): MethodGuardRestReturns

Parameters ​
NameType
...optArgGuardsany[]
Returns ​

MethodGuardRestReturns

Defined in ​

patterns/src/types.js:585