「Module:Arguments」修訂間的差異

跳至導覽 跳至搜尋
增加 10,039 位元組 、 2022年7月20日 (三) 23:16
创建页面,内容为“-- This module provides easy processing of arguments passed to Scribunto from -- #invoke. 该模块旨在为其他Lua模块所用,它不应该被#invoke直接调用。 local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local arguments = {} -- Generate four different tidyVal functions, so that we don't have to check the -- options every time we call it. local function tidyValDefault(key, val) if type(val) == 'string' then…”
(创建页面,内容为“-- This module provides easy processing of arguments passed to Scribunto from -- #invoke. 该模块旨在为其他Lua模块所用,它不应该被#invoke直接调用。 local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local arguments = {} -- Generate four different tidyVal functions, so that we don't have to check the -- options every time we call it. local function tidyValDefault(key, val) if type(val) == 'string' then…”)
 
(無差異)

導覽選單