Determining if all attributes on a javascript object are null or an empty string - Stack Overflow

PHOTO EMBED

Wed Sep 07 2022 09:02:10 GMT+0000 (Coordinated Universal Time)

Saved by @jacopo #javascript

Object.values(object).every(value => !!value);
content_copyCOPY

https://stackoverflow.com/questions/27709636/determining-if-all-attributes-on-a-javascript-object-are-null-or-an-empty-string