UNPKG

682 BTypeScriptView Raw
1import { Predicate } from './predicate.js';
2export declare class ArrayBufferPredicate<T extends ArrayBufferLike> extends Predicate<T> {
3 /**
4 Test an array buffer to have a specific byte length.
5
6 @param byteLength - The byte length of the array buffer.
7 */
8 byteLength(byteLength: number): this;
9 /**
10 Test an array buffer to have a minimum byte length.
11
12 @param byteLength - The minimum byte length of the array buffer.
13 */
14 minByteLength(byteLength: number): this;
15 /**
16 Test an array buffer to have a minimum byte length.
17
18 @param length - The minimum byte length of the array buffer.
19 */
20 maxByteLength(byteLength: number): this;
21}