JSFiddle - React, Tailwind, and code Playground

JavaScript

arr = ["b","d","f"];
uri = "d";

alert(jQuery.inArray(uri, arr));