Mod: condition pipe function.