Skip to main content

Function: typedArrayByteLengthRangeInclusive()

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

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

Type Parameters

Type Parameter
T extends TypedArray

Parameters

ParameterType
startnumber
endnumber
options?ValidatorOptions

Returns

object

run()

Parameters

ParameterType
inputT

Returns

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