EXPAND ALL
  • Home

has_value

Checks to see if a given value is present in an array. Can include matching an individual value, or checking against an array of services.

Returns: BOOLEAN

True if value is present in the input, otherwise false.

Arguments

VariableTypeDescription
array_or_valueSTRINGArray or value to check.
valueSTRINGThe value to check for in passed in value.

Examples:

df = df[px.has_value(df.ctx["replica_set"], "kube-system/kube-dns-79c57c8c9b")]
This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.