Johann Pardanaud
hashtags.each { // Trim hashtags for leading "#", and only then ensure that it's not empty map { it.trimStart('#') }.isNotEmpty() }
// Validate the type of a value someValue.isInstanceOf<String>() // Validate elements are unique in a collection someCollection.hasNoDuplicates()
someCollection.first().isNotEmpty() someCollection.last().isNotEmpty() someCollection[index].isNotEmpty()
A modern programming language that makes developers happier.