Typescript Check If An Array Contains A Number