contains

Available in a dev version: 0․11․0-grpc-186

How to configure

expect operator fun GrpcMetadata.contains(key: String): Boolean(source)

Returns true if this metadata contains one or more values for the specified key.

Return

true if this metadata contains the key, false otherwise

Parameters

key

the key whose presence is to be tested (case-insensitive). Must contain only digits (0-9), lowercase letters (a-z), and special characters (-, _, .).

actual operator fun GrpcMetadata.contains(key: String): Boolean(source)

Returns true if this metadata contains one or more values for the specified key.

Return

true if this metadata contains the key, false otherwise

Parameters

key

the key whose presence is to be tested (case-insensitive). Must contain only digits (0-9), lowercase letters (a-z), and special characters (-, _, .).

actual operator fun GrpcMetadata.contains(key: String): Boolean(source)

Returns true if this metadata contains one or more values for the specified key.

Return

true if this metadata contains the key, false otherwise

Parameters

key

the key whose presence is to be tested (case-insensitive). Must contain only digits (0-9), lowercase letters (a-z), and special characters (-, _, .).