Published
Edited
May 8, 2020
1 star
Insert cell
md`# conditional | decisionmaking | pattern matching | predicate | guard`
Insert cell
import { tap, of, from } from '@egman24/rxjs-6-5-5'
Insert cell
/*


R.where({ a: R.where(), ... })
R.propEq
R.pathEq
R.propSatisfies
R.pathSatisfies
R.is
R.isIn
R.isNil
R.isEmpty
R.allPass
R.anyPass
R.equals
R.eqBy (shortcut to lift two things into fn... ex. if "1" and 1... use parseInt(R.__, 10) or Number... R.toUpper "a" "A"... R.abs for -5 5, ...)
R.gt,lt,gte,lte
R.test(//)

R.cond for nested cases... if x then check y, ...try to pull these out linearly and check allPass for each case...

*/
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more