Proposal: Boolean.parseBoolean

Dmitry Soshnikov dmitry.soshnikov at gmail.com
Mon Mar 20 20:31:15 UTC 2017


On Mon, Mar 20, 2017 at 12:09 PM, kdex <kdex at kdex.de> wrote:

> One could argue that `parse` makes more sense, as there is really just
> that one way to parse a bool.
>
>
I agree, just `parse` sounds good (similar to `Date.parse`, and
`JSON.parse`). Since in `parseInt`, the `Int` is a quantifier.

Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170320/386ff56e/attachment.html>


More information about the es-discuss mailing list