applyIf