テンプレート関数のオプションで,テンプレートを適用した結果を与えるために,どのように断片を組み立てるかを指定する.
CombinerFunction
テンプレート関数のオプションで,テンプレートを適用した結果を与えるために,どのように断片を組み立てるかを指定する.
例題
例 (2)
t = StringTemplate["The next planet is `planet`: mass is `mass`.", CombinerFunction -> Identity];
TemplateApply[t, <|"planet" -> "Jupiter", "mass" -> "big"|>]CombinerFunctionはエキスポート形式でもよい:
TemplateApply[
StringTemplate["The next planet is `planet`: mass is `mass`, and \" will be escaped in json.",
InsertionFunction -> Identity,
CombinerFunction -> "JSON"],
<|"planet" -> "Jupiter", "mass" -> "big"|>
]関連項目
関連するガイド
テキスト
Wolfram Research (2014), CombinerFunction, Wolfram言語関数, https://reference.wolfram.com/language/ref/CombinerFunction.html.
CMS
Wolfram Language. 2014. "CombinerFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CombinerFunction.html.
APA
Wolfram Language. (2014). CombinerFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CombinerFunction.html
BibTeX
@misc{reference.wolfram_2026_combinerfunction, author="Wolfram Research", title="{CombinerFunction}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/CombinerFunction.html}", note=[Accessed: 13-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_combinerfunction, organization={Wolfram Research}, title={CombinerFunction}, year={2014}, url={https://reference.wolfram.com/language/ref/CombinerFunction.html}, note=[Accessed: 13-September-2026]}