Commit b20af80
committed
util: introduce
Provide public APIs for native typechecking that is actually useful.
The motivation for this is providing alternatives to userland
modules that would currently rely on `process.binding('util')`.
PR-URL: #18415
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>util.types.is[…] type checks1 parent bd6e0be commit b20af80
File tree
15 files changed
+919
-125
lines changed- doc/api
- lib
- internal
- util
- src
- test/parallel
15 files changed
+919
-125
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
932 | 932 | | |
933 | 933 | | |
934 | 934 | | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
935 | 943 | | |
936 | 944 | | |
937 | 945 | | |
| |||
1000 | 1008 | | |
1001 | 1009 | | |
1002 | 1010 | | |
| 1011 | + | |
1003 | 1012 | | |
1004 | 1013 | | |
1005 | 1014 | | |
| |||
0 commit comments