Skip to content

[BUG] Parameters for propOr reversed in documentation (or in source??) #787

@mmikeyy

Description

@mmikeyy

Is there a point to changing the order of the parameters?

The documentation describes the function as it used to be:

R.propOr(defaultValue, property)(obj),

Now the source code is as follows:

export function propOr(property, defaultValue) {
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions