LightnCandy\Runtime::isec PHP Method

isec() public static method

For {{^var}} .
public static isec ( array\arraystring | integer> $cx, arraystring | integer> | integer | null $v ) : boolean
$cx array\arraystring | integer>
$v arraystring | integer> | integer | null
return boolean Return true when the value is not null nor false.
    public static function isec($cx, $v)
    {
        return $v === null || $v === false || is_array($v) && count($v) === 0;
    }