mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
Update website
This commit is contained in:
@@ -6516,10 +6516,8 @@ effect is similar to running something like this:</p>
|
||||
</h3>
|
||||
<p>The <code>first(expr)</code> and <code>last(expr)</code> functions extract the first
|
||||
and last values from <code>expr</code>, respectively.</p>
|
||||
<p>The <code>nth(n; expr)</code> function extracts the nth value output by
|
||||
<code>expr</code>. This can be defined as <code>def nth(n; expr):
|
||||
last(limit(n + 1; expr));</code>. Note that <code>nth(n; expr)</code> doesn't
|
||||
support negative values of <code>n</code>.</p>
|
||||
<p>The <code>nth(n; expr)</code> function extracts the nth value output by <code>expr</code>.
|
||||
Note that <code>nth(n; expr)</code> doesn't support negative values of <code>n</code>.</p>
|
||||
|
||||
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user