filter

fun filter(predicate: (relativePath: String, file: JSZipObject) -> Boolean): ReadonlyArray<JSZipObject>(source)

Get all files which match the given filter function

Return

Array of matched elements

Parameters

predicate

Filter function