Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby array has element

>> ['Cat', 'Dog', 'Bird'].include? 'Dog'
=> true
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ruby #array #element
ADD COMMENT
Topic
Name
1+7 =