has_metadata_with_type


Description:

public bool has_metadata_with_type (string key, VariantType expected_type)

Checks if the item contains metadata key with expected_type.

Parameters:

this

a SessionItem

key

the metadata key

expected_type

the VariantType to check for key

Returns:

true if a value was found for key matching expected_typed; otherwise false is returned.