has

fun <D : DataClass<*, *, *>> Iterable<D>.has(objectId: String): Boolean

Checks if an Iterable contains a DataClass with the set objectId.

Author

Arnau Mora

Since

20210724

Return

The object you are searching for, or null if not found.

Parameters

objectId

The id of the object to search for.