Skip to main content

Function: resolveInteger()

resolveInteger(parameter: string, options?: object): Result<number, Identifiers.ArgumentIntegerError | Identifiers.ArgumentIntegerTooSmall | Identifiers.ArgumentIntegerTooLarge>

Parameters

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

Returns

Result<number, Identifiers.ArgumentIntegerError | Identifiers.ArgumentIntegerTooSmall | Identifiers.ArgumentIntegerTooLarge>

Defined in

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