assertk / assertk.assertions / name

name

(jvm) fun Assert<File>.name(): Assert<String!>

Returns an assert on the file's name.