What's the replacement for Shiny:::'%OR%'

This used to work in Shiny::validate
%then% <- shiny:::%OR%

It just suddenly not working any more after updating packages. What's the update and replacement for a sequencial validatioin, need(a) %then% need(b) ?

if you want to use that old internal function you can define it for yourself.

function (x, y) 
{
    if (is.null(x) || isTRUE(is.na(x))) 
        y
    else x
}