Initial pass on script Action

This commit is contained in:
Jonathan Clem
2019-08-29 18:46:42 -04:00
commit 8080ea76f3
363 changed files with 77611 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
export function lowercaseKeys(object) {
if (!object) {
return {};
}
return Object.keys(object).reduce((newObj, key) => {
newObj[key.toLowerCase()] = object[key];
return newObj;
}, {});
}