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 b4c10df commit 9fc58e4Copy full SHA for 9fc58e4
lib/graphTypes.js
@@ -79,7 +79,7 @@ api.isGraph = v => {
79
// 3. It may have '@id' or '@index'
80
return types.isObject(v) &&
81
'@graph' in v &&
82
- Object.keys(v).filter(key => key != '@id' && key != '@index').length === 1;
+ Object.keys(v).filter(key => key !== '@id' && key !== '@index').length === 1;
83
};
84
85
/**
0 commit comments