📌chore: lock 수정 및 pipe 함수 추가

This commit is contained in:
yoosangwook 2024-12-02 09:12:45 +09:00
parent 5e54269456
commit eaa38270db
2 changed files with 174 additions and 450 deletions

View File

@ -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)

617
yarn.lock

File diff suppressed because it is too large Load Diff