Skip to main content

has_object_meta

Synopsis​

@has_object_meta(MetadataKey) -> Boolean

Description​

Checks if the object's metadata contains a specified key.

info

Available in Contextal Platform 1.0 and later.

Parameters​

Name of the object metadata key.

Return value​

Boolean: true if the object contains a given key, false otherwise.

Examples​

@has_object_meta($possible_passwords)
  • This matches all objects, which have a metadata key named possible_passwords