either
Checks if at least one function returns true for a given set of arguments.
- Use the logical or (
||) operator on the result of calling the two functions with the suppliedargs.
Checks if at least one function returns true for a given set of arguments.
||) operator on the result of calling the two functions with the supplied args.