dequal
dequal copied to clipboard
Why not to compare functions?
Hi, thanks for the lib 👏
Why don't you compare functions with function.toString()
? I have a case where it could help me...
personally i think that would cause more harm than good. maaaybe you could do something if the function is pure (for the same arguments it has the same return), but still would be too risky. What was your use case tho?