0👍
Yes, There’s a way
function (row) {
return this.headings.reduce((res, heading) => res &= row.hasOwnProperty(heading), true)
}
This method should return true – if the row has the heading.
Source:stackexchange.com
0👍
Yes, There’s a way
function (row) {
return this.headings.reduce((res, heading) => res &= row.hasOwnProperty(heading), true)
}
This method should return true – if the row has the heading.