checkReadOnly

Checks that the provided collection is read-only.

See also

.checkIterator