Ramda: Documentation inconsistency in 'and'

Created on 23 Jan 2020  路  1Comment  路  Source: ramda/ramda

According to the function's description the return value should be a boolean, but the function's signature says otherwise and it actually behaves that way (returns either a or b). This can become an issue if you expected the result to be a bool.

Most helpful comment

You might want to read #1218, #1335, #1971 and #2361 , these issues explain why and behaviors inconsistent with its description.

>All comments

You might want to read #1218, #1335, #1971 and #2361 , these issues explain why and behaviors inconsistent with its description.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ashaffer picture ashaffer  路  4Comments

davidchambers picture davidchambers  路  4Comments

lupuszr picture lupuszr  路  3Comments

makarkotlov picture makarkotlov  路  3Comments

Antontelesh picture Antontelesh  路  3Comments