How things turned out, as it happened, as in As luck would have it he missed his train, or The check arrived in time, as luck would have it. The luck referred to can mean either good fortune or bad. [Late 1500s]
The American Heritage® Idioms Dictionary Copyright © 2002, 2001, 1995 by Houghton Mifflin Harcourt Publishing Company. Published by Houghton Mifflin Harcourt Publishing Company.