File tree Expand file tree Collapse file tree 2 files changed +68
-0
lines changed Expand file tree Collapse file tree 2 files changed +68
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : at_least
3
+ description : Liquid filter that limits a number to a minimum value
4
+ ---
5
+
6
+ Limits a number to a minimum value.
7
+
8
+ <p class =" code-label " >Input</p >
9
+ {% raw %}
10
+ ``` liquid
11
+ {{ 4 | at_least: 5 }}
12
+ ```
13
+ {% endraw %}
14
+
15
+ <p class =" code-label " >Output</p >
16
+ {% raw %}
17
+ ```
18
+ 5
19
+ ```
20
+ {% endraw %}
21
+
22
+ <p class =" code-label " >Input</p >
23
+ {% raw %}
24
+ ``` liquid
25
+ {{ 4 | at_least: 3 }}
26
+ ```
27
+ {% endraw %}
28
+
29
+ <p class =" code-label " >Output</p >
30
+ {% raw %}
31
+ ```
32
+ 4
33
+ ```
34
+ {% endraw %}
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : at_most
3
+ description : Liquid filter that limits a number to a maximum value
4
+ ---
5
+
6
+ Limits a number to a maximum value.
7
+
8
+ <p class =" code-label " >Input</p >
9
+ {% raw %}
10
+ ``` liquid
11
+ {{ 4 | at_most: 5 }}
12
+ ```
13
+ {% endraw %}
14
+
15
+ <p class =" code-label " >Output</p >
16
+ {% raw %}
17
+ ```
18
+ 4
19
+ ```
20
+ {% endraw %}
21
+
22
+ <p class =" code-label " >Input</p >
23
+ {% raw %}
24
+ ``` liquid
25
+ {{ 4 | at_most: 3 }}
26
+ ```
27
+ {% endraw %}
28
+
29
+ <p class =" code-label " >Output</p >
30
+ {% raw %}
31
+ ```
32
+ 3
33
+ ```
34
+ {% endraw %}
You can’t perform that action at this time.
0 commit comments