// Small helper to avoid issues with includes and typescript
// more infos: https://fettblog.eu/typescript-array-includes/
export function includes(array, element) {
    return array.includes(element);
}
//Avoid keyof <Type> while mapping with ObjectKeys
//https://github.com/sindresorhus/ts-extras/blob/main/source/object-keys.ts#L24
export function objectKeysType(value) {
    return Object.keys(value);
}
export function reverseRecord(input) {
    return Object.fromEntries(Object.entries(input).map(([key, value]) => [value, key]));
}
export * from "./helpers/cryptoIconSize";
//# sourceMappingURL=helpers.js.map