 
 # Helps to identify whether given node is an implicit array.
 hasMultipleValues = (node) ->
-  values = node.valueDefinition?.values or []
-  values.length > 0
+  !!node.valueDefinition?.values?.length
 
 
 # Helps to identify whether given node is an implicit object.

findTypeSpecification = (node) ->
  if node.base?.typeSpecification?
    # Top-level *Named Type* node.
    node.base?.typeSpecification
  else
    # *Property Member* or *Value Member* node
    node.valueDefinition?.typeDefinition?.typeSpecification

      cb err
    else if not spec
      resolveImplicitType node, (err, implicitType) ->
        cb err, name: implicitType
    else
      cb null, spec

