NOTE: This site is deprecated. The site will be turned down after January 31, 2023, and traffic will redirect to the new site at https://protobuf.dev. In the meantime, updates will be made only to protobuf.dev.

contains

//protobuf-kotlin/com.google.protobuf.kotlin/contains

[JVM]
Content
operator fun <M : GeneratedMessageV3.ExtendableMessage<M>, MorBT : GeneratedMessageV3.ExtendableMessageOrBuilder<M>> MorBT.contains(extension: ExtensionLite<M, *>): Boolean
More info

Returns true if the specified extension is set on this builder.