Answers for "get enum key typescript"

0

get enum key typescript

let enums = Object.keys(SomeEnum).filter(x => !(parseInt(x) >= 0));
console.log("Enums", enums); //Enums: A, B, C, D
Posted by: Guest on July-16-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language