Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

c# check if array contains value

    public static bool Contains(Array a, object val)
    {
        return Array.IndexOf(a, val) != -1;
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #array
ADD COMMENT
Topic
Name
3+9 =