FutureProg functions
tolaw
Overload 1
tolaw overload 1
Law tolaw(LegalAuthority authority, Number identifier)
Available in
- computer function
- computer program
- standard futureprog
Returns a law within the supplied legal authority, or null if either is absent. Numeric arguments are IDs.
| Parameter | Type | Description |
|---|---|---|
authority |
LegalAuthority |
The legal authority to search within. |
identifier |
Number |
The ID or case-insensitive name to find within the owner. |
Overload 2
tolaw overload 2
Law tolaw(LegalAuthority authority, Text identifier)
Available in
- computer function
- computer program
- standard futureprog
Returns a law within the supplied legal authority, or null if either is absent. Numeric arguments are IDs.
| Parameter | Type | Description |
|---|---|---|
authority |
LegalAuthority |
The legal authority to search within. |
identifier |
Text |
The ID or case-insensitive name to find within the owner. |
Overload 3
tolaw overload 3
Law tolaw(Number id)
Available in
- computer function
- computer program
- standard futureprog
Returns a law by ID, or null if absent.
| Parameter | Type | Description |
|---|---|---|
id |
Number |
The globally unique ID to find. |