Function that retuns val when it passes a predicate

Description

Per https://ask.clojure.org/index.php/8945/something-like-when-pred-in-the-core ...

Request for a function that checks a predicate on a value and returns the value if it passes the predicate, nil otherwise ala

Environment

None

Assignee

Unassigned

Reporter

Alex Miller

Labels

None

Approval

Triaged

Patch

None

Priority

Major
Configure