Return a boolean for isDuplicate rather than a number
The delegate effectively only checks for isDuplicate > 1 so we can break the loop once we found two and just return a boolean as you would expect from the name of the property
parent
61a91e16
Please register or sign in to comment