1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-04 03:03:18 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/filters/limit.tid

20 lines
625 B
Plaintext
Raw Normal View History

2014-04-10 18:56:51 +00:00
created: 20140410103123179
modified: 20150124204544000
tags: [[Filter Operators]] [[Common Operators]] [[Order Operators]] [[Negatable Operators]]
title: limit Operator
2014-04-10 18:56:51 +00:00
type: text/vnd.tiddlywiki
caption: limit
purpose: select the first or last <<.place n>> input titles
2014-04-10 18:56:51 +00:00
<$macrocall $name=".operator-def"
input="a [[selection of titles|Title Selection]]"
parameter="an integer, defaulting to 0"
paramName="n"
output="the first <<.place n>> input titles"
negationOutput="the last <<.place n>> input titles"
/>
2014-04-10 18:56:51 +00:00
`limit[n]` and `!limit[n]` are synonyms for `first[n]` and `last[n]` respectively.
2014-04-10 18:56:51 +00:00
<<.operator-examples "limit">>