return arr.indexOf(!arr[0])<0;
Created
November 27, 2016 07:21
-
-
Save GeekaholicLin/a9ac2e541909b38fc921e29bf3e40e3f to your computer and use it in GitHub Desktop.
【转】如何优雅地判断 N 个布尔值是否全部相等?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment