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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • Affects Version/s: None
    • Component/s: None
    • Environment:

      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"."

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

              Created:
              Updated:
              Resolved:
              10 years, 33 weeks, 2 days ago