UNPKG

78 BJavaScriptView Raw
1const hasMaxLength = (len, x) => x?.length <= len;
2export {
3 hasMaxLength
4};