const isEmptyArray = ({ length }) => length === 0;. And you could even use JSDocs or TS to warn the dev when ...
確定! 回上一頁