Closed davidcantrelluk2 closed 5 years ago
We quite often find ourselves writing something like this:
... $some_boolean ? JSON->true : JSON->false
It would be nice if we could instead write:
JSON->boolean($some_boolean)
Any reason this issue is still open? The linked pull request has been merged, and a release has been cut.
@moritz Thanks for the heads-up!
We quite often find ourselves writing something like this:
... $some_boolean ? JSON->true : JSON->false
It would be nice if we could instead write:
JSON->boolean($some_boolean)