Skip to main content

Function: typedArrayByteLengthRangeInclusive()

typedArrayByteLengthRangeInclusive<T>(start: number, end: number, options?: ValidatorOptions): object

Type Parameters

Type Parameter
T extends TypedArray

Parameters

ParameterType
startnumber
endnumber
options?ValidatorOptions

Returns

object

run()

Parameters

ParameterType
inputT

Returns

Result<T, Error> | Result<unknown, ExpectedConstraintError<T>>

Defined in

projects/shapeshift/src/constraints/TypedArrayLengthConstraints.ts:83