DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
get key of enum typescript
let enums = Object.keys(SomeEnum).filter(x => x === yourValue));
Source by www.crojach.com #
PREVIOUS
NEXT
Tagged:
#key
#enum
#typescript
ADD COMMENT
Topic
COMMENT
Name
2+1 =
Submit