In

class In(val key: String, val values: Set<Any?>) : MvtFilter

True when properties[key] is in values. The membership test is a Set hash lookup — both the property value and the members are already boxed references, so this allocates nothing; numeric members are compared by their existing identity/equality (unchanged).

Constructors

Link copied to clipboard
constructor(key: String, values: Set<Any?>)

Properties

Link copied to clipboard
val key: String
Link copied to clipboard
val values: Set<Any?>

Functions

Link copied to clipboard
open override fun matches(properties: Map<String, Any?>, geomType: MvtGeometryType? = null): Boolean

Evaluate this filter against a feature's inflated property map. geomType surfaces the feature's geometry kind so GeometryTypeEq can compare against it; other filters ignore it.