contains

open operator fun contains(path: Path): Boolean(source)
open operator fun contains(path: String): Boolean(source)

Returns whether there exists at least one entry with a path matching path (following the semantics of path matching). Equivalent to containsPath(path).


open operator fun contains(entryId: PathMultimapEntryId): Boolean(source)

Returns whether there exists an entry identified by entryId in the multimap. Equivalent to containsEntry(entryId).


open operator fun contains(value: @UnsafeVariance T): Boolean(source)

Returns whether there exists at least one value equal to value in the multimap. Equivalent to containsValue(value).