Minecraft wiki entry for Development_versions, associated text: /function
Added new arguments:
if <selector> - runs the function only if the specified selector is found (currently only matches 1)
unless <selector> - runs the function except when the specified selector is found (currently only matches 0 or 2+)