UNPKG

@lodestar/beacon-node

Version:

A Typescript implementation of the beacon chain

9 lines 371 B
/** * Ensures that the array contains unique values, and throws an ApiError * otherwise. * @param array - The array to check for uniqueness. * @param message - The message to put in the ApiError if the array contains * duplicates. */ export declare function assertUniqueItems(array: unknown[] | undefined, message: string): void; //# sourceMappingURL=utils.d.ts.map