Commit 064a7070 authored by ZiJian Liu's avatar ZiJian Liu Committed by Benjamin Gruenbaum
Browse files

lib: refactor to use validateFunction

add validateFunction and refactor to use validateFunction

PR-URL: https://github.com/nodejs/node/pull/37045


Reviewed-By: default avatarAntoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: default avatarDarshan Sen <raisinten@gmail.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 8c3cdce4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment