diff --git a/README.md b/README.md index ca233d1..1c16b7c 100644 --- a/README.md +++ b/README.md @@ -200,13 +200,13 @@ import "github.com/duke-git/lancet/v2/condition" [[play](https://go.dev/play/p/W1SSUmt6pvr)] - **Or** : returns false if neither a nor b is truthy. [[doc](https://github.com/duke-git/lancet/blob/main/docs/condition.md#Or)] -[[play](https://go.dev/play/p/UlQTxHaeEkq)]] +[[play](https://go.dev/play/p/UlQTxHaeEkq)] - **Xor** : returns true if a or b but not both is truthy. [[doc](https://github.com/duke-git/lancet/blob/main/docs/condition.md#Xor)] [[play](https://go.dev/play/p/gObZrW7ZbG8)] - **Nor** : returns true if neither a nor b is truthy. [[doc](https://github.com/duke-git/lancet/blob/main/docs/condition.md#Nor)] - [[play](https://go.dev/play/p/g2j08F_zZky) + [[play](https://go.dev/play/p/g2j08F_zZky)] - **Xnor** : returns true if both a and b or neither a nor b are truthy. [[doc](https://github.com/duke-git/lancet/blob/main/docs/condition.md#Xnor)] [[play](https://go.dev/play/p/OuDB9g51643)] diff --git a/README_zh-CN.md b/README_zh-CN.md index 95fbc57..c53aa73 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -205,10 +205,10 @@ import "github.com/duke-git/lancet/v2/condition" [[play](https://go.dev/play/p/gObZrW7ZbG8)] - **Nor** : 异或的取反操作。 [[doc](https://github.com/duke-git/lancet/blob/main/docs/condition_zh-CN.md#Nor)] - [[play](https://go.dev/play/p/g2j08F_zZky) + [[play](https://go.dev/play/p/g2j08F_zZky)] - **Xnor** : 如果 a 和 b 都是真的或 a 和 b 均是假的,则返回 true。 [[doc](https://github.com/duke-git/lancet/blob/main/docs/condition_zh-CN.md#Xnor)] -[[play](https://go.dev/play/p/OuDB9g51643)]] +[[play](https://go.dev/play/p/OuDB9g51643)] - **Nand** : 如果 a 和 b 都为真,返回 false,否则返回 true [[doc](https://github.com/duke-git/lancet/blob/main/docs/condition_zh-CN.md#Nand)] [[play](https://go.dev/play/p/vSRMLxLIbq8)]