File tree Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,10 @@ Defined as:
62
62
63
63
If C < $value > is L < Numeric > (including another
64
64
L < allomorph|/language/glossary#index-entry-Allomorph > ), checks if invocant's
65
- L < Numeric > part L < ACCEPTS > the C < $value > . If C < $value > is L < Str > , checks if
66
- invocant's L < Str > part L < ACCEPTS > the C < $value > . If value is anything else,
67
- checks if both L < Numeric > and L < Str > parts L < ACCEPTS > the C < $value > .
65
+ L < Numeric > part L < ACCEPTS|/type/Numeric#method_ACCEPTS > the C < $value > .
66
+ If C < $value > is L < Str > , checks if invocant's L < Str > part
67
+ L < ACCEPTS|/type/Str#method_ACCEPTS > the C < $value > . If value is anything else,
68
+ checks if both L < Numeric > and L < Str > parts C < ACCEPTS > the C < $value > .
68
69
69
70
say < 5+0i> ~~ "5.0"; # OUTPUT: «False»
70
71
say < 5+0i> ~~ 5.0 ; # OUTPUT: «True»
Original file line number Diff line number Diff line change @@ -61,9 +61,10 @@ Defined as:
61
61
62
62
If C < $value > is L < Numeric > (including another
63
63
L < allomorph|/language/glossary#index-entry-Allomorph > ), checks if invocant's
64
- L < Numeric > part L < ACCEPTS > the C < $value > . If C < $value > is L < Str > , checks if
65
- invocant's L < Str > part L < ACCEPTS > the C < $value > . If value is anything else,
66
- checks if both L < Numeric > and L < Str > parts L < ACCEPTS > the C < $value > .
64
+ L < Numeric > part L < ACCEPTS|/type/Numeric#method_ACCEPTS > the C < $value > . If
65
+ C < $value > is L < Str > , checks if invocant's L < Str > part
66
+ L < ACCEPTS|/type/Str#method_ACCEPTS > the C < $value > . If value is anything else,
67
+ checks if both L < Numeric > and L < Str > parts C < ACCEPTS > the C < $value > .
67
68
68
69
say <5> ~~ "5.0"; # OUTPUT: «False»
69
70
say <5> ~~ 5.0 ; # OUTPUT: «True»
Original file line number Diff line number Diff line change @@ -61,9 +61,10 @@ Defined as:
61
61
62
62
If C < $value > is L < Numeric > (including another
63
63
L < allomorph|/language/glossary#index-entry-Allomorph > ), checks if invocant's
64
- L < Numeric > part L < ACCEPTS > the C < $value > . If C < $value > is L < Str > , checks if
65
- invocant's L < Str > part L < ACCEPTS > the C < $value > . If value is anything else,
66
- checks if both L < Numeric > and L < Str > parts L < ACCEPTS > the C < $value > .
64
+ L < Numeric > part L < ACCEPTS|/type/Numeric#method_ACCEPTS > the C < $value > . If
65
+ C < $value > is L < Str > , checks if invocant's L < Str > part
66
+ L < ACCEPTS|/type/Str#method_ACCEPTS > the C < $value > . If value is anything else,
67
+ checks if both L < Numeric > and L < Str > parts C < ACCEPTS > the C < $value > .
67
68
68
69
say <5e0> ~~ "5.0"; # OUTPUT: «False»
69
70
say <5e0> ~~ 5.0 ; # OUTPUT: «True»
Original file line number Diff line number Diff line change @@ -61,9 +61,10 @@ Defined as:
61
61
62
62
If C < $value > is L < Numeric > (including another
63
63
L < allomorph|/language/glossary#index-entry-Allomorph > ), checks if invocant's
64
- L < Numeric > part L < ACCEPTS > the C < $value > . If C < $value > is L < Str > , checks if
65
- invocant's L < Str > part L < ACCEPTS > the C < $value > . If value is anything else,
66
- checks if both L < Numeric > and L < Str > parts L < ACCEPTS > the C < $value > .
64
+ L < Numeric > part L < ACCEPTS|/type/Numeric#method_ACCEPTS > the C < $value > . If
65
+ C < $value > is L < Str > , checks if invocant's L < Str > part
66
+ L < ACCEPTS|/type/Str#method_ACCEPTS > the C < $value > . If value is anything else,
67
+ checks if both L < Numeric > and L < Str > parts C < ACCEPTS > the C < $value > .
67
68
68
69
say <5.0> ~~ "5"; # OUTPUT: «False»
69
70
say <5.0> ~~ 5 ; # OUTPUT: «True»
You can’t perform that action at this time.
0 commit comments