Skip to content

Commit 9fc58e4

Browse files
committed
Old habits die hard: !== instead of !=.
1 parent b4c10df commit 9fc58e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/graphTypes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ api.isGraph = v => {
7979
// 3. It may have '@id' or '@index'
8080
return types.isObject(v) &&
8181
'@graph' in v &&
82-
Object.keys(v).filter(key => key != '@id' && key != '@index').length === 1;
82+
Object.keys(v).filter(key => key !== '@id' && key !== '@index').length === 1;
8383
};
8484

8585
/**

0 commit comments

Comments
 (0)