Wasnt completely sure how to title this, however i've recently noticed that some items (I've experienced it more with hardpoint items so far) return an empty array as the value for description if that item doesnt posses one, rather than null or undefined.
for example, take this snippet from the reclaimer's hardpoints:
it contains [] as the item description. this is usually a string or an object of type: { en_EN: string; de_DE: string } if you're not using a set locale in the api requests.
Wasnt completely sure how to title this, however i've recently noticed that some items (I've experienced it more with hardpoint items so far) return an empty array as the value for
description
if that item doesnt posses one, rather thannull
orundefined
.for example, take this snippet from the reclaimer's hardpoints:
it contains
[]
as the item description. this is usually astring
or an object of type:{ en_EN: string; de_DE: string }
if you're not using a set locale in the api requests.