Are all list elements identical to each other?

allAreIdentical(x)

Arguments

x

a list

Value

TRUE if all elements in x are identical, otherwise FALSE