UNPKG

pure-conditions

Version:
5 lines (4 loc) 114 B
function hasLengthOfAtMost (value, number) { return value.length <= number } module.exports = hasLengthOfAtMost