DEP0055:util.isRegExp()
版本历史
| 版本 | 变更 |
|---|---|
| v22.0.0 | 运行时弃用。 |
| v6.12.0, v4.8.6 | 已指定弃用代码。 |
| v4.0.0, v3.3.1 | 仅文档弃用。 |
类型:运行时
\Type: Runtime
util.isRegExp() API 已弃用。请改用 arg instanceof RegExp。
\The util.isRegExp() API is deprecated. Please use
arg instanceof RegExp instead.