UK police said a man carrying knives had been arrested on Whitehall, and was being detained under anti-terrorism laws.