I'm feeling a bit confused about how Ramda really works. I found this code and I'm not entirely sure how it functions.
const render = curry(
(renderer, value) => is(Function, renderer) && renderer(value)
);
I just need to grasp an easier way to convert is(Function, renderer)
into Vanilla JS. I attempted to create checks for strings, numbers, and objects, but the check only uses 'string' type and doesn't include Function
.