Endo API documentation - v0.2.0 / Exports / @endo/patterns / MethodGuardReturns
Interface: MethodGuardReturns
@endo/patterns.MethodGuardReturns
Table of contents
Properties
Properties
returns
• returns: (returnGuard?: any) => MethodGuard
Arguments have been specified, now finish by creating a MethodGuard. If the return guard is not M.raw(), the return value is automatically hardened and must be Passable.
Type declaration
▸ (returnGuard?): MethodGuard
Parameters
| Name | Type |
|---|---|
returnGuard? | any |