Returns true if the expression for each object of the Collection provides a different value.
isUnique(Block expression) | |||
---|---|---|---|
Argument | Block | expression | Expression that should return a different value for each object of the collection. |
Return value | Boolean |
Formula | Result |
---|---|
=List{'abc','bf','c'}.isUnique(x|x.size) | true |