Skip to content

Error on "List -> find" with single value of null #245

@ronnelreposo

Description

@ronnelreposo
const xs = [null];
List.fromArray(xs).find((x) => true);

Finding an element with x being null throws an error.

https://codesandbox.io/s/zen-morse-fk96k?file=/src/index.js

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions