Skip to content
#

matchers

Here are 53 public repositories matching this topic...

LeoColman
LeoColman commented Mar 3, 2022

Our collection matchers forAll, forNone, checkAll and others don't include Charsequence. It's only a type issue, as CharSequence !is Collection<Char>

The current workaround for this is turning your strings into lists via toList:

val string = "MyString"

val charList: List<Char> = string.toList()

charList.forAll { }

However, I do feel we should be able to just

Improve this page

Add a description, image, and links to the matchers topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the matchers topic, visit your repo's landing page and select "manage topics."

Learn more