Typescript Array Includes Php W3schools Foreach