mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-11 19:44:21 +00:00
cc391f551a
* simplify language dropdown; move language mapping to separate file (json) * re-add rpc options (removed in bad merge)
4 lines
114 B
TypeScript
4 lines
114 B
TypeScript
export function getKeyByValue(object, value) {
|
|
return Object.keys(object).find(key => object[key] === value);
|
|
}
|