Skip to main content

Function: resolveNumber()

resolveNumber(parameter: string, options?: object): Result<number, ArgumentNumberError | ArgumentNumberTooSmall | ArgumentNumberTooLarge>

Defined in: projects/framework/src/lib/resolvers/number.ts:4

Parameters

ParameterType
parameterstring
options?{ maximum: number; minimum: number; }
options.maximum?number
options.minimum?number

Returns

Result<number, ArgumentNumberError | ArgumentNumberTooSmall | ArgumentNumberTooLarge>