However, this would also work in Perl, etc, (anything featuring short-circuit evaluation and type coercion for evaluating conditions.)