You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 31, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: gitbook/api.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,6 +126,18 @@
126
126
-**Usage:**
127
127
This is the same as the `$tc` method. This is translate pluralization function for global locale only. more detail see [$tc](#tc-keypath-choice-arguments-).
128
128
129
+
### Vue.te(keypath, [lang])
130
+
131
+
-**Arguments:**
132
+
-`{String} keypath`
133
+
-`{String} [lang]`
134
+
135
+
-**Return:**
136
+
Whether keypath exists, boolean value
137
+
138
+
-**Usage:**
139
+
Check whether key path exists in global locale. If you specified `lang`, check the locale of `lang`.
0 commit comments