Skip to content

Commit

Permalink
fix checking function
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguillette committed Sep 12, 2024
1 parent d8ba463 commit ee3a0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local/humanEvolutionaryBiology-115.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ enabledGroups = [
"139860" # HEB 115: Investigating the Human Genome
]

def arrays_have_common_element?(array1, array2)
def arrays_have_common_element(array1, array2)
# Use the `&` operator to get the intersection of the two arrays
# If the intersection is not empty, return true, otherwise false
!(array1 & array2).empty?
Expand Down

0 comments on commit ee3a0e7

Please sign in to comment.