when - binary_pat
- func
Applies the given function whenever the given pattern is in a true state.
"c3 eb3 g3".when("<0 1>/2", x=>x.sub("5")).note() | parameter | type |
|---|---|
| binary_pat | |
| func |
|
Applies the given function whenever the given pattern is in a true state.
"c3 eb3 g3".when("<0 1>/2", x=>x.sub("5")).note() | parameter | type |
|---|---|
| binary_pat | |
| func |
|