Ternary

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

A function which takes three parameters, or is said to have an arity of 3.

const ternary = (a, b, c) => a + b + c
const ternaryMC = a => b => c => a + b + c 
const ternaryC = curry((a, b, c) => a + b + c)
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