Skip to content
This repository has been archived by the owner on Jul 7, 2018. It is now read-only.

How to set up the chain at the first place? #8

Open
parzh opened this issue Mar 11, 2017 · 0 comments
Open

How to set up the chain at the first place? #8

parzh opened this issue Mar 11, 2017 · 0 comments
Milestone

Comments

@parzh
Copy link
Contributor

parzh commented Mar 11, 2017

At least two options are possible:

  • Verbose:
    check.input(42).chain(logic);
  • Compact:
    check.input(42)[logic]();

where logic may take one of the following string-values:

  • "and" - conjuction;
  • "or" - disjunction;
  • "nor" - negated disjunction;
  • "xor" - exclusive disjunction;

Both options may be used along one with another as alias to each other.

@parzh parzh added this to the Add ability to chain multiple methods milestone Mar 11, 2017
@parzh parzh self-assigned this Mar 11, 2017
@parzh parzh removed their assignment Jan 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

0 participants