Closed probablykasper closed 1 year ago
The invoke function casts falsy values to undefined. This means values like 0 and '' turn into undefined.
invoke
undefined
0
''
api.invoke(key, input || undefined);
nvm, this doesn't have any effect since the input type only accepts null | {...}
input
null | {...}
The
invoke
function casts falsy values toundefined
. This means values like0
and''
turn intoundefined
.