If Array Is Not Empty Typescript Enum