mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +00:00
Doc: Document 'empty' operator
Thanks to Alexander Zubkov for the notification.
This commit is contained in:
parent
f2dd602fef
commit
18ea2ea759
@ -1196,6 +1196,8 @@ foot).
|
|||||||
|
|
||||||
<cf><m/P/.len</cf> returns the length of path <m/P/.
|
<cf><m/P/.len</cf> returns the length of path <m/P/.
|
||||||
|
|
||||||
|
<cf><m/P/.empty</cf> resets path <m/P/ to empty path.
|
||||||
|
|
||||||
<cf>prepend(<m/P/,<m/A/)</cf> prepends ASN <m/A/ to path <m/P/ and
|
<cf>prepend(<m/P/,<m/A/)</cf> prepends ASN <m/A/ to path <m/P/ and
|
||||||
returns the result.
|
returns the result.
|
||||||
|
|
||||||
@ -1234,6 +1236,8 @@ foot).
|
|||||||
|
|
||||||
<cf><m/C/.len</cf> returns the length of clist <m/C/.
|
<cf><m/C/.len</cf> returns the length of clist <m/C/.
|
||||||
|
|
||||||
|
<cf><m/C/.empty</cf> resets clist <m/C/ to empty clist.
|
||||||
|
|
||||||
<cf>add(<m/C/,<m/P/)</cf> adds pair (or quad) <m/P/ to clist <m/C/ and
|
<cf>add(<m/C/,<m/P/)</cf> adds pair (or quad) <m/P/ to clist <m/C/ and
|
||||||
returns the result. If item <m/P/ is already in clist <m/C/, it does
|
returns the result. If item <m/P/ is already in clist <m/C/, it does
|
||||||
nothing. <m/P/ may also be a clist, in that case all its members are
|
nothing. <m/P/ may also be a clist, in that case all its members are
|
||||||
|
Loading…
Reference in New Issue
Block a user