strikt-jvm / strikt.java / strikt.api.Assertion.Builder / exists

exists

fun <T : File> Builder<T>.exists(): Builder<T>

Asserts that the file exists.

See Also

File.exists

fun <T : Path> Builder<T>.exists(vararg options: LinkOption = emptyArray()): Builder<T>

Asserts that the subject exists, handling symbolic links according to the provided options

Parameters

options - the options indicating how symbolic links are handled

See Also

Files.exists