If Array Is Not Empty Typescript Enums