       args.unshift '"' + _.string.dasherize(@doc.name).replace('cast-', '') + '"'
     [docName, args]
 
-  formatValue: (v) ->
+  formatValue: (v, isTopLevel=false) ->
     return null if @options.level.isType('web-dev')
     return null if @doc.type is 'snippet'
     return @options.thang.now() if @doc.name is 'now'
-    return '[Function]' if not v and @doc.type is 'function'
+    return '[Function]' if not v? and @doc.type is 'function' and isTopLevel
     unless v?
       if @doc.owner is 'this'
         v = @options.thang[@doc.name]

        return v
      if _.isNumber v
        return v.toFixed 2
      unless v
        return 'null'
      return '' + v
    if _.isString v

      doc: @doc
      docName: docName
      language: @options.language
      value: @formatValue undefined, true
      marked: marked
      argumentExamples: argumentExamples
      writable: @options.writable
