mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-05 14:27:51 +02:00
Merge pull request #1246 from kjkuan/patch-1
Update perl6.html.markdown
This commit is contained in:
@@ -213,7 +213,7 @@ say $x; #=> 52
|
|||||||
# - `if`
|
# - `if`
|
||||||
# Before talking about `if`, we need to know which values are "Truthy"
|
# Before talking about `if`, we need to know which values are "Truthy"
|
||||||
# (represent True), and which are "Falsey" (or "Falsy") -- represent False.
|
# (represent True), and which are "Falsey" (or "Falsy") -- represent False.
|
||||||
# Only these values are Falsey: (), "", Nil, A type (like `Str` or `Int`),
|
# Only these values are Falsey: 0, (), {}, "", Nil, A type (like `Str` or `Int`),
|
||||||
# and of course False itself.
|
# and of course False itself.
|
||||||
# Every other value is Truthy.
|
# Every other value is Truthy.
|
||||||
if True {
|
if True {
|
||||||
|
Reference in New Issue
Block a user