- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
let checks: boolean[] = [];
languages.value.map((language) => {
checks.push(name.value.hasOwnProperty(language.locale) && !!name.value[language.locale]);
checks.push(description.value.hasOwnProperty(language.locale) && !!description.value[language.locale]);
});
return !checks.includes(false);