mirror of
https://github.com/Stef-00012/Zipline-Android-App.git
synced 2025-05-11 18:35:58 +02:00
test
This commit is contained in:
parent
b3794c199c
commit
44cc6e70f3
2 changed files with 132 additions and 0 deletions
|
@ -98,3 +98,6 @@ export function colorHash(str: string) {
|
|||
return color;
|
||||
}
|
||||
|
||||
function getNestedValue(object: Record<string, unknown>, path: string) {
|
||||
return path.split('.').reduce((acc, part) => acc && acc[part], obj);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue