Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.62 KB

File metadata and controls

31 lines (21 loc) · 1.62 KB

and()

and() tests if its contained match components evaluate to True.

Matching is ANDed by default, but it can be set to OR. And and() gives you a bit more control in certain situations, such as making. a when/do expression that is based on multiple match components.

The functionality of and() overlaps with all(), but all() has powers that are more specific than and().

Data signatures
and( Eval this: $${\color{green}None}$$ ǁ $${\color{green}Any}$$, And eval this: $${\color{green}None}$$ ǁ $${\color{green}Any}$$, ... )
Call signatures
and( Eval this: Matchable, And eval this: Matchable, ... )
Purpose Value
Main focus and() determines if lines match
Context Qualifier
Match qualifiers onmatch
Value qualifiers onmatch

[Back to index]