AllSameBy
AllSameBy[{e1,e2,…},f] tests whether all the f[ei] are the same.
AllSameBy[f] represents an operator form of AllSameBy that can be applied to an expression.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.