Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
Update Expressions.md (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rad586 authored Aug 8, 2024
1 parent 3cb1b29 commit ee77aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/zh-cn/Expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

| 函数 | 描述 | 实参 | 示例 |
|---|---|---|---|
| `?.` | Attempts to get a field from a structure or returns `null` | `struct`, `key` | `struct?.field` |
| `?.` | 尝试从结构中获取字段,或返回 `null` | `struct`, `key` | `struct?.field` |
| `?` | 如果 `a``null`,返回 `b`| `a`, `b` | `struct?.y ? 5` |

:::
Expand Down

0 comments on commit ee77aec

Please sign in to comment.