📜  获取枚举键打字稿代码示例

📅  最后修改于: 2022-03-11 14:48:12.658000             🧑  作者: Mango

代码示例1
let enums = Object.keys(SomeEnum).filter(x => !(parseInt(x) >= 0));
console.log("Enums", enums); //Enums: A, B, C, D