not
Logical negation. Returns `true` if the input is `false`, and `false` if the input is `true`.
Example usage:
FillLayer fillLayer = new FillLayer("layer-id", "source-id");
fillLayer.setFilter(
not(get("keyToValue"))
);
Content copied to clipboard
Return
expression
Parameters
input
expression input
See also
<a href="https://maplibre. org/maplibre-style-spec/expressions/#!">Style specification</a>
Logical negation. Returns `true` if the input is `false`, and `false` if the input is `true`.
Example usage:
FillLayer fillLayer = new FillLayer("layer-id", "source-id");
fillLayer.setFilter(
not(false)
);
Content copied to clipboard
Return
expression
Parameters
input
boolean input
See also
<a href="https://maplibre. org/maplibre-style-spec/expressions/#!">Style specification</a>