@bitgo/utxo-lib
Version:
Client-side Bitcoin JavaScript library
13 lines • 556 B
TypeScript
import { TapLeafScript } from 'bip174/src/lib/interfaces';
export { TapLeafScript };
export type Tuple<T> = [T, T];
export declare function isTuple<T>(arr: T[]): arr is Tuple<T>;
export type Triple<T> = [T, T, T];
export declare function isTriple<T>(arr: T[]): arr is Triple<T>;
/**
* Checks if the given value is an array of Buffer objects.
* @param v - The value to check.
* @returns A boolean indicating whether v is an array of Buffer objects.
*/
export declare function isBufferArray(v: unknown): v is Buffer[];
//# sourceMappingURL=types.d.ts.map