Java String And Array Functions In Typescript Enum Get Key