Const
(string) The name of the field to check.
(string[]) A list of possible values to match.
(ResultTemplateCondition) A function that takes a result and checks if the value for the specified field matches any value in the specified list.
Creates a condition that verifies that a field's value does not contain any of the specified values.
(string) The name of the field to check.
(string[]) A list of all disallowed values.
(ResultTemplateCondition) A function that takes a result and checks that the value for the specified field does not match any value in the given list.
Creates a condition that verifies if the specified fields are defined.
(string[]) A list of fields that must be defined.
(ResultTemplateCondition) A function that takes a result and checks if every field in the specified list is defined.
Creates a condition that verifies if the specified fields are not defined.
(string[]) A list of fields that must not be defined.
(ResultTemplateCondition) A function that takes a result and checks if every field in the specified list is not defined.
Extracts a property from a result object.
(Result) The target result.
(string) The property to extract.
(unknown) The value of the specified property in the specified result, or null if the property does not exist.
Creates a condition that verifies if a field's value contains any of the specified values.