If Array Is Not Empty Typescript W3schools