Sort:  

It's both. Anything that has value,especially deflationary value and qualifies the properties of money is money.

https://wiki.mises.org/wiki/Money