Identity

Published: 1/18/2020
Last edited: 1/26/2020

The identity function returns what it is given. Sometimes referenced as the I combinator.

const I = x => x
// import { identity as I } from 'ramda'
'so\n\n\n\n\nso\n\n\ncool'.split('\n').filter(I)
Published: 1/18/2020
Last edited: 1/26/2020
See this page on Github
Built with 💛 by Open Sorcerers
Created with Gatsby using the 😎 foresight starter