Functor implemented in JavaScript which contains conditional execution of a function through the method `.mapIf`
npm install functor-ifFunctor implemented in JavaScript which contains conditional execution of a function through the
method .mapIf
truthy being a function, the function is run on the value enclosed in the functor and if that value results in a truthy value, the fn supplied is run over the value contained in the functor and a Functor is returned with the result.truthy being a boolean, if truthy is true, the fn supplied is run over the value contained in the functor and a Functor is returned with the result.