SafeEvaluate[input,expr]⟹out
evaluates expr if no members of the list input match NullP|{}; otherwise, returns Null.
Evaluates if no part of 'input' matches NullP:
Multiple expressions can be checked for Null-ness by passing them to 'input' in a list:
Returns Null if 'input' matches NullP:
Returns Null if 'input' is an empty list:
This includes any nested lists of only Null:
A partially null element of the input list will still evaluate:
The expression passed in as the second argument is held and only evaluated if the proper conditions are met: