Skip to main content

Function: resolveNumber()

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

Parameters

ParameterType
parameterstring
options?object
options.maximum?number
options.minimum?number

Returns

Result<number, Identifiers.ArgumentNumberError | Identifiers.ArgumentNumberTooSmall | Identifiers.ArgumentNumberTooLarge>

Defined in

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