Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1824

Comment on: "manual/reference/aggregation/operator-conditional.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      The pages states:

      $cond - "Evaluates a an expression and returns a boolean."

      As far as I've understood, by looking at the detailed docs for $cond, $cond doesn't necessarily return a boolean (it could, though), but rather "evaluates an expression and returns one value for a "truthy" evaluation and one for a "falsy"."

      Attachments

        Activity

          People

            zack.brown@10gen.com Zack Brown
            auto auto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 23 weeks, 1 day ago