All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
11 lines
203 B
JavaScript
11 lines
203 B
JavaScript
export default regexCheck
|
|
|
|
import fromCharCode from '../constant/from-char-code.mjs'
|
|
|
|
function regexCheck(regex) {
|
|
return check
|
|
function check(code) {
|
|
return regex.test(fromCharCode(code))
|
|
}
|
|
}
|