UNPKG
@c-sheep/i18n-extract-cli
Version:
latest (1.0.0)
1.0.0
这是一款能够自动将代码里的中文转成i18n国际化标记的命令行工具。当然,你也可以用它实现将中文语言包自动翻译成其他语言。适用于vue2、vue3和react
@c-sheep/i18n-extract-cli
/
dist
/
shared
/
assertType.js
8 lines
(7 loc)
•
230 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
isObject
=
void
0
;
function
isObject
(
obj
) {
return
Object
.
prototype
.
toString
.
call
(obj) ===
'[object Object]'
; }
exports
.
isObject
= isObject;