Reference - Single functions - none


App: regression/framework - Page: expressions/and_or_and_xor_read_a_list_by_its_truth_against_a_value
PHP
expressions/and_or_and_xor_read_a_list_by_its_truth_against_a_value.php
HTML
expressions/and_or_and_xor_read_a_list_by_its_truth_against_a_value.pad
Result
<?php

$t
= 1;
$f = 0;
$rows = [ [ 'a' => 1 ], [ 'a' => 2 ] ];
$nums = [ 0, 0 ];
$none = [];

?>
{if array:rows and $t}T{else}F{/if}{if array:rows or $t}T{else}F{/if}{if $t and array:rows}T{else}F{/if}{if array:nums and $t}T{else}F{/if}{if array:none or $f}T{else}F{/if}{if array:none xor $t}T{else}F{/if}{if $f and array:rows}T{else}F{/if}