We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
!==
!=
1 parent 548500a commit 00e321cCopy full SHA for 00e321c
lib/expand.js
@@ -421,7 +421,7 @@ api.expand = ({
421
// and value is not, itself, a graph
422
// index cases handled above
423
if(container.includes('@graph') &&
424
- !container.some(key => key == '@id' || key == '@index') &&
+ !container.some(key => key === '@id' || key === '@index') &&
425
!_isGraph(expandedValue)) {
426
// ensure expanded value is an array
427
expandedValue = [].concat(expandedValue);
0 commit comments