has_metadata


Description:

public bool has_metadata (string key, out VariantType? value_type)

If the item contains a metadata value for key.

Checks if a value exists for a metadata key and retrieves the VariantType for that key.

Parameters:

this

a SessionItem

key

the name of the metadata

value_type

a location for a VariantType or null

Returns:

true if this contains metadata named key and value_type is set to the value's VariantType. Otherwise false and value_type is unchanged.