/ wɪm; NAmE / noun
[ C , U ] a sudden wish to do or have sth, especially when it is sth unusual or unnecessary :
He was forced to pander to her every whim .
We bought the house on a whim .
My duties seem to change daily at the whim of the boss.
the whims of fashion
She hires and fires people at whim .
••
WORD ORIGIN
late 17th cent.: of unknown origin.