A lender of last resort is a lender able and willing to lend when no one else will. It is usually one of the functions of a central bank.