Skip to content

Instantly share code, notes, and snippets.

@jmfayard

jmfayard/jvm.kt Secret

Created July 13, 2021 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmfayard/06ce8f1b08f7b1014b940e4d979acb61 to your computer and use it in GitHub Desktop.
Save jmfayard/06ce8f1b08f7b1014b940e4d979acb61 to your computer and use it in GitHub Desktop.
// jvmMain
actual fun fileIsReadable(filePath: String): Boolean =
File(filePath).canRead()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment