I've forgot to tell you, <you can also use >`map`<...
# akkurate
j
I've forgot to tell you, you can also use `map` to transform your data before validating it:
Copy code
map { it.map { it.id } }
    .hasNoDuplicates()
👍🏼 1
When looking at this code, I can perfectly see the use for a transform parameter on hasNoDuplicates, it would look like this:
Copy code
hasNoDuplicates { it.id }
2