Fichtelgard

Enum Keys als Array

export function getEnumKeysAsArray(object: Object) {
let result: string[] = [];
for (let member in object) {
result.push(member);
}
return result;
}