DEP0054: util.isPrimitive()


类型:运行时

🌐 Type: Runtime

util.isPrimitive() API 已被弃用。请改用 arg === null || (typeof arg !== 'object' && typeof arg !== 'function')

🌐 The util.isPrimitive() API is deprecated. Please use arg === null || (typeof arg !=='object' && typeof arg !== 'function') instead.