Skip to content

Instantly share code, notes, and snippets.

@tolmasky
Created November 14, 2008 00:48
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 tolmasky/24699 to your computer and use it in GitHub Desktop.
Save tolmasky/24699 to your computer and use it in GitHub Desktop.
for(; index < count; ++index)
{
var lhs = self[index],
rhs = anArray[index];
if (lhs !== rhs && (!lhs.isa || !rhs.isa || ![lhs isEqual:rhs]))
return NO;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment