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