* checks if two bson values are equal. * types are compared using semantics, so comparing 1 to 1.0 will return true. */
| 421 | * types are compared using semantics, so comparing 1 to 1.0 will return true. |
| 422 | */ |
| 423 | bool |
| 424 | BsonValueEquals(const bson_value_t *left, const bson_value_t *right) |
| 425 | { |
| 426 | bool isComparisonValidIgnore; |
| 427 | return CompareBsonValueAndType(left, right, &isComparisonValidIgnore) == 0; |
| 428 | } |
| 429 | |
| 430 | |
| 431 | /* |
no test coverage detected