Typescript Get First Element Of Array If Exists Php To Usd