Writing down inventory

I had  inventory that cost $1750 at the end of 2020.  I decided to close the business and filed paperwork with the state in 2021.   The inventory is useless - best case, I will give it away.  Can I take all $1750 as a loss?