Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ValueMatcher

import type { ValueMatcher } from "https://googleapis.deno.dev/v1/trafficdirector:v3.ts";

Specifies the way to match a ProtobufWkt::Value. Primitive values and ListValue are supported. StructValue is not supported and is always not matched. [#next-free-field: 8]

interface ValueMatcher {
boolMatch?: boolean;
doubleMatch?: DoubleMatcher;
listMatch?: ListMatcher;
nullMatch?: NullMatch;
orMatch?: OrMatcher;
presentMatch?: boolean;
stringMatch?: StringMatcher;
}

§Properties

§
boolMatch?: boolean
[src]

If specified, a match occurs if and only if the target value is a bool value and is equal to this field.

§
doubleMatch?: DoubleMatcher
[src]

If specified, a match occurs if and only if the target value is a double value and is matched to this field.

§
listMatch?: ListMatcher
[src]

If specified, a match occurs if and only if the target value is a list value and is matched to this field.

§
nullMatch?: NullMatch
[src]

If specified, a match occurs if and only if the target value is a NullValue.

§
orMatch?: OrMatcher
[src]

If specified, a match occurs if and only if any of the alternatives in the match accept the value.

§
presentMatch?: boolean
[src]

If specified, value match will be performed based on whether the path is referring to a valid primitive value in the metadata. If the path is referring to a non-primitive value, the result is always not matched.

§
stringMatch?: StringMatcher
[src]

If specified, a match occurs if and only if the target value is a string value and is matched to this field.