Hacker News new | ask | show | jobs
by chewxy 4717 days ago
That's kinda what binary logical operations are for. Typically AND is denoted by the symbol '&', and OR is denoted by the symbol '|'