当前位置:网站首页>Why is true == "true" true in R- Why TRUE == “TRUE” is TRUE in R?
Why is true == "true" true in R- Why TRUE == “TRUE” is TRUE in R?
2022-06-25 07:11:00 【Technology feast】
problem :
- Why
TRUE == "TRUE"
isTRUE
in R? Why?TRUE == "TRUE"
stay R Medium isTRUE
? - Is there any equivalent for
===
in R? stay R There is===
Equivalent ?
Update: to update :
These are all returning FALSE
: These all return FALSE
:
TRUE == "True"TRUE == "true"TRUE == "T"
The only TRUE
value is TRUE == "TRUE"
. Unique TRUE
The value is TRUE == "TRUE"
.
In case of checking with identical()
everything works fine. In the use of identical()
Check the case , Everything is all right .
Second Update: Second update :
By ===
operator I meant the process of checking the Value and the Data Type of a variable .===
The operator refers to checking Variable Of value and data type The process of .In this case I assumed that the ==
operator will only compare the Values of variables, not their Data Type as well. under these circumstances , I am assuming that ==
Operator only compares the value , Not their data type .
Solution :
Reference resources : https://stackoom.com/en/question/10eUx边栏推荐
- [轻松学会shell编程]-5、计划任务
- Entry level use of flask
- Simple and complete steps of vivado project
- 网络是怎样连接的?
- Leetcode 2163. Minimum difference of sum after element deletion
- Analysis on the output, market scale and development status of China's children's furniture industry in 2020 and the competition pattern of children's furniture enterprises [figure]
- 100 times larger than the Milky way, Dutch astronomers found mysterious objects in deep space
- [tool sharing] a software that pays equal attention to appearance and skills
- 破万,我用了六年!
- Common cluster scripts
猜你喜欢
Message queue table structure for storing message data
网络是怎样连接的?
Streamnational platform version 1.5 is released, integrating istio and supporting openshift deployment
[XXL job] the pond is green and the wind is warm. I remember that Yu Zhen first met
Kubernetes cluster dashboard & kuboard installation demo
赚够钱回老家吗
Pratique de gestion hiérarchique basée sur kubesphere
终于等到你,小程序开源啦~
Flask 的入门级使用
Analysis on the output, market scale and development status of China's children's furniture industry in 2020 and the competition pattern of children's furniture enterprises [figure]
随机推荐
【ROS2】为什么要使用ROS2?《ROS2系统特性介绍》
【一起上水硕系列】Day 4
Kubernetes cluster dashboard & kuboard installation demo
[从零开始学习FPGA编程-43]:视野篇 - 后摩尔时代”芯片设计的技术演进-2-演进方向
ACWING/2004. Misspelling
Common cluster scripts
48 张图 | 手摸手教你微服务的性能监控、压测和调优
Event registration Apache pulsar x kubesphere online meetup hot registration
父爱的表达方式
Clearing Magento log data - clearing Magento log data
In depth analysis of Apache bookkeeper series: Part 3 - reading principle
I have used it for six years!
CTFHub-Web-信息泄露-目錄遍曆
Kubernetes 集群中流量暴露的几种方案
レ / leilei
Torchserve pit avoidance Guide
MSG_ OOB MSG_ PEEK
Capable people never complain about the environment!
深入解析 Apache BookKeeper 系列:第三篇——读取原理
TorchServe避坑指南