ecl-logo Documentation

RepeatedQ

RepeatedQ[items_List]repeatedbooleanP

repeatedQ returns true when all items in the provided list are identical.

Details

  • Empty lists count as repeated.
  • Input
    Output

Examples

Basic Examples  (2)

Returns true if every item of a list is identical:

All items must be identical to return true:

Additional Examples  (1)

Returns true for a null list: