mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-19 02:39:42 +00:00
20 lines
371 B
Plaintext
20 lines
371 B
Plaintext
|
title: Functions/FunctionFilterrunVariables2
|
||
|
description: Functions in filter runs that set variables
|
||
|
type: text/vnd.tiddlywiki-multiple
|
||
|
tags: [[$:/tags/wiki-test-spec]]
|
||
|
|
||
|
title: Apple
|
||
|
cost: 5
|
||
|
|
||
|
+
|
||
|
title: Output
|
||
|
|
||
|
\whitespace trim
|
||
|
\function .doublecost() [<currentTiddler>get[cost]multiply[2]]
|
||
|
|
||
|
<$text text={{{ [[Apple]] :map[.doublecost[]] }}}/>
|
||
|
|
||
|
+
|
||
|
title: ExpectedResult
|
||
|
|
||
|
10
|