Skip to content

Instantly share code, notes, and snippets.

@bryanhelmig
Created June 19, 2012 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryanhelmig/2956930 to your computer and use it in GitHub Desktop.
Save bryanhelmig/2956930 to your computer and use it in GitHub Desktop.
first = 1, 2, 3
second = 1, null, null
result = _.all _.zip(first, second), (li) ->
if not li[1]?
return true
else if li[0] == li[1]
return true
else
return false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment