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