This is using Kotlin in android through tried in a non-android project. It just asks if we want to create the function. The value we wanted to compare was a Double, but .toInt()
did not help.
FWIW, Bard showed this as possible and when I told it the code was not compiling it said check the import, which is fine.
Are you looking for isAtLeast(...)
? It's the API that implements a "greater than or equal to" check.