Function: resolveInteger()
resolveInteger(
parameter
:string
,options
?:object
):Result
<number
,ArgumentIntegerError
|ArgumentIntegerTooSmall
|ArgumentIntegerTooLarge
>
Defined in: projects/framework/src/lib/resolvers/integer.ts:4
Parameters
Parameter | Type |
---|---|
parameter | string |
options ? | { maximum : number ; minimum : number ; } |
options.maximum ? | number |
options.minimum ? | number |
Returns
Result
<number
, ArgumentIntegerError
| ArgumentIntegerTooSmall
| ArgumentIntegerTooLarge
>