githubEdit

Conditions

Speed up your workflow!

PyStreamAPI presents four distinct groups of conditions for your convenience. Within these groups, you'll find a variety of conditions with varying parameters. For instance, certain conditions like even() do not require any parameters, while others such as less_than(n) involve specifying a single parameter.

Moreover, PyStreamAPI provides a single combiner that empowers you to seamlessly merge multiple conditions, thereby enhancing your ability to manipulate data more effectively.

Import

All conditions can be imported from:

In order to import all conditions from a specific group, use these imports:

Type conditions

Type Conditionschevron-right

Numeric conditions

Numeric Conditionschevron-right

String conditions

String Conditionschevron-right

Date conditions

Date conditionschevron-right

Combiner

one_of(*conditions) checks if one of the given conditions are fulfilled. You can pass as many conditions as you want.

Last updated