If Array Is Not Empty Typescript