📌chore: lock 수정 및 pipe 함수 추가
This commit is contained in:
parent
5e54269456
commit
eaa38270db
@ -93,3 +93,10 @@ export const inputNumberCheck = (e) => {
|
||||
input.value = input.value.replace(/[^\d]/g, '')
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 파이프함수 정의
|
||||
* @param {...any} fns 순수함수들
|
||||
* @returns
|
||||
*/
|
||||
export const pipe = (...fns) => (x) => fns.reduce((v, f) => f(v), x)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user