Skip to main content

Function: resolveFloat()

resolveFloat(parameter: string, options?: object): Result<number, Identifiers.ArgumentFloatError | Identifiers.ArgumentFloatTooSmall | Identifiers.ArgumentFloatTooLarge>

Parameters

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

Returns

Result<number, Identifiers.ArgumentFloatError | Identifiers.ArgumentFloatTooSmall | Identifiers.ArgumentFloatTooLarge>

Defined in

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