Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

jquery check value exists in array

if ($.inArray('example', myArray) != -1)
{
  // found it
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #check #exists #array
ADD COMMENT
Topic
Name
8+3 =