Twinkle HubTwinkle Hub

簡體 → 繁體

tw_simplified_to_traditional

更多工具 · 同一族🇹🇼 台灣唯讀

簡體中文轉繁體。variant: 'zh-tw'(default, 台灣正體) | 'zh-hk' | 'zh-hant'。

參數

參數型別說明
text *string—
variantstring—
原始 JSON schema
{
  "properties": {
    "text": {
      "title": "Text",
      "type": "string"
    },
    "variant": {
      "default": "zh-tw",
      "title": "Variant",
      "type": "string"
    }
  },
  "required": [
    "text"
  ],
  "title": "simplified_to_traditionalArguments",
  "type": "object",
  "additionalProperties": false
}

呼叫​方式

起手式——參數見上表
tw_simplified_to_traditional({ text: "…" })