Skip to main content
added 88 characters in body
Source Link
DJMcMayhem
  • 59.6k
  • 17
  • 196
  • 348

V, 2020, 18 bytes

òóˆ±òø^$òóˆ±òø‚

::$^øò±ˆóò‚øò±ˆóò

Try it online!Try it online!

Hexdump:

00000000: f2f3 88b1 f2f8 5e24 0a0a820a 3a3a0a3a 245e3a82 f8f2 b188  ......^$...::$^.....
00000010: b188 f3f2                                     ..                   ....

Outputs 10 for truthy, 01 for falsy. Thanks to nmjcman101 for indirectly saving 2 bytes.

ò        ò        " Recursively...
 ó                "   Remove...
  <0x88>          "     Any printable ASCII character
        ±         "     Followed by itself
          ø       " Count...
           ^$  <0x82> "   The number of non-empty strings

::$^øò±óò<0x82>øò±<0x88>óò      " NOP to ensure that the code is paired

V, 20 bytes

òóˆ±òø^$

::$^øò±ˆóò

Try it online!

Hexdump:

00000000: f2f3 88b1 f2f8 5e24 0a0a 3a3a 245e f8f2  ......^$..::$^..
00000010: b188 f3f2                                ....

Outputs 1 for truthy, 0 for falsy.

ò        ò      " Recursively...
 ó              "   Remove...
  <0x88>        "     Any printable ASCII character
        ±       "     Followed by itself
          ø     " Count...
           ^$   "   The number of empty strings

::$^øò±óò      " NOP to ensure that the code is paired

V, 20, 18 bytes

òóˆ±òø‚

::‚øò±ˆóò

Try it online!

Hexdump:

00000000: f2f3 88b1 f2f8 820a 0a3a 3a82 f8f2 b188  .........::.....
00000010: f3f2                                     ..                   ....

Outputs 0 for truthy, 1 for falsy. Thanks to nmjcman101 for indirectly saving 2 bytes.

ò        ò        " Recursively...
 ó                "   Remove...
  <0x88>          "     Any printable ASCII character
        ±         "     Followed by itself
          ø       " Count...
           <0x82> "   The number of non-empty strings

::<0x82>øò±<0x88>óò      " NOP to ensure that the code is paired
added 327 characters in body
Source Link
DJMcMayhem
  • 59.6k
  • 17
  • 196
  • 348

V, 20 bytes

òóˆ±òø^$

::$^øò±ˆóò

Try it online!

Hexdump:

00000000: f2f3 88b1 f2f8 5e24 0a0a 3a3a 245e f8f2  ......^$..::$^..
00000010: b188 f3f2                                ....

Outputs 1 for truthy, 0 for falsy.

ò        ò      " Recursively...
 ó              "   Remove...
  <0x88>        "     Any printable ASCII character
        ±       "     Followed by itself
          ø     " Count...
           ^$   "   The number of empty strings

::$^øò±óò      " NOP to ensure that the code is paired

V, 20 bytes

òóˆ±òø^$

::$^øò±ˆóò

Try it online!

Hexdump:

00000000: f2f3 88b1 f2f8 5e24 0a0a 3a3a 245e f8f2  ......^$..::$^..
00000010: b188 f3f2                                ....

Outputs 1 for truthy, 0 for falsy.

V, 20 bytes

òóˆ±òø^$

::$^øò±ˆóò

Try it online!

Hexdump:

00000000: f2f3 88b1 f2f8 5e24 0a0a 3a3a 245e f8f2  ......^$..::$^..
00000010: b188 f3f2                                ....

Outputs 1 for truthy, 0 for falsy.

ò        ò      " Recursively...
 ó              "   Remove...
  <0x88>        "     Any printable ASCII character
        ±       "     Followed by itself
          ø     " Count...
           ^$   "   The number of empty strings

::$^øò±óò      " NOP to ensure that the code is paired
Source Link
DJMcMayhem
  • 59.6k
  • 17
  • 196
  • 348

V, 20 bytes

òóˆ±òø^$

::$^øò±ˆóò

Try it online!

Hexdump:

00000000: f2f3 88b1 f2f8 5e24 0a0a 3a3a 245e f8f2  ......^$..::$^..
00000010: b188 f3f2                                ....

Outputs 1 for truthy, 0 for falsy.