For faster navigation, this Iframe is preloading the Wikiwand page for 模板:If both.

模板:If both

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]
文氏图

逻辑数学中,逻辑合取逻辑与是一个二元逻辑运算符。如果其两个变量的真值都为“真”,其结果为“真”,否则其结果为“假”。[1][2][3]

例子

代码 结果
((If both|a|b|true|false)) true
((If both|a| |true|false)) false
((If both| |b|true|false)) false
((If both| | |true|false)) false

参见


模板数据

以下是该模板的模板数据,适用于可视化编辑器等工具。

If both模板数据

计算脸个逻辑值的逻辑与

模板参数[编辑模板数据]

参数描述类型状态
要运算的值11

无描述

字符串可选
要运算的值22

无描述

字符串可选
为真时3

为真时显示的内容

内容可选
为假时4

为假时显示的内容

未知可选

参考文献

  1. ^ Comprehensive List of Logic Symbols. Math Vault. 2020-04-06 [2020-09-02]. (原始内容存档于2021-05-13) (美国英语). 
  2. ^ Conjunction, Negation, and Disjunction. philosophy.lander.edu. [2020-09-02]. (原始内容存档于2021-04-21). 
  3. ^ 2.2: Conjunctions and Disjunctions. Mathematics LibreTexts. 2019-08-13 [2020-09-02]. (原始内容存档于2020-11-05) (英语). 
{{bottomLinkPreText}} {{bottomLinkText}}
模板:If both
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?