Mask.boolean

Mask boolean(bool value) @safe

Creates a boolean mask that always returns the same value.

Parameters

valuetrue for a mask that matches everything, false for nothing

Returns

A new Mask instance.