src/rules/no-duplicates.js
function hasNamespace(node) {
  const specifiers = node.specifiers
    .filter(specifier => specifier.type === 'ImportNamespaceSpecifier')
  return specifiers.length > 0
}
function hasNamespace(node) {
  const specifiers = node.specifiers
    .filter(specifier => specifier.type === 'ImportNamespaceSpecifier')
  return specifiers.length > 0
}
function hasNamespace ( node ) { const specifiers = node . specifiers . filter ( specifier => specifier . type === 'ImportNamespaceSpecifier' ) return specifiers . length > 0 }
Checks whether `node` has a namespace import.
Checks whether node has a namespace import .