not

open fun not(@NonNull input: Expression): Expression(source)

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"))
);

Return

expression

Parameters

input

expression input

See also


open fun not(input: Boolean): Expression(source)

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)
);

Return

expression

Parameters

input

boolean input

See also