把包含原子值(数字、布尔值或字符串)的变量和另一个此类变量或者文字原子值比较,希望一种类型自动转换成另一种类型。
Comparing a variable having an atomic value (number, Boolean, or string) to another such variable or a literal atomic value, and expecting the type of one to be cast automatically to the other type.
这些字段的值可以是字符串、布尔值、数字、日期、顺序列表或关联映射。
Those field values may be strings, Boolean values, Numbers, dates, ordered lists, or associative maps.
清单5依赖于substring在某些边界情况下的行为以及布尔值到数字的转换。
Listing 5 depends on certain behaviors for substring in some edge cases, as well as the conversion of Boolean values to Numbers.
And here, I'm going to suggest we've seen numbers, we've seen strings, and I'm going to add Booleans here as well.
我要提醒下大家我们学习过数字数据了,学习过字符串了,今天还要学习布尔类型,这是当我们谈到条件的时候。
应用推荐