0
誰かがこの動作を教えてくれますか、それともバグですか?複数の引数を持つ関数に対してRamDA ifElseが実行されない
const firstTest = (a) => console.log(a, 'this will be executed');
const secTest = (a, b) => console.log(a, 'this will not be executed');
const firstIfElse = R.ifElse(R.T, firstTest,() => null);
const unexpectedIfElse = R.ifElse(R.T, secTest,() => null);
firstIfElse('logging appears as expected');
unexpectedIfElse('no logging');