assertk / assertk.assertions / parent

parent

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

Returns an assert on the file's parent.