Created
April 19, 2019 09:22
-
-
Save DDzia/60838cb98a62cf34c9db9a96bb2811ac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Get values from enumeration. | |
*/ | |
public static values(enumType: object) { | |
return EnumHelpers.toKeyValueArray(enumType).map(kv => kv.value); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment