If you have inventory at the end of the year, can you claim 0 as a complete loss if you do not plan to continue the business?

Started sole proprietorship 2017. Last sold in Dec 2017 with inventory but I am closing the business