fn checks_are_same(check1: &Check, check2: &Check) -> bool
Check if 2 Checks are the same.
Check
This includes their function pointers, though the argument references do not necessarily have to point to the same check. This is necessary as serenity’s PartialEq for Check only checks the name.
serenity
PartialEq