Empty Arrays: surprising behaviour |

You won’t believe what happens when all the animals run away from the zoo.There are a couple of array methods that are often useful, .any? and .all?. .any? will return true if the supplied block returns true for at least one item in the array. For example:.
Empty Arrays: surprising behaviour | #ruby #rubydeveloper #rubyonrails #arrays: https://rubyonrails.ba/single/empty-arrays-surprising-behaviour

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles