Functions: R¶
26 functions (42 overloads) on BasicRuntime.Functions starting with R.
RAISE¶
Performs the raise operation using the supplied value.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.RAISE(...) directly (no instance required) when your code needs to perform the raise operation using the supplied value. |
How this member is tested
Act: var result = Functions.RAISE("sample")
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
RANDOMIZE¶
Overload 1
The RANDOMIZE statement initialises the random number generator.
| Kind | Method (static) |
| Returns | void |
| Use case | Call Functions.RANDOMIZE(...) directly (no instance required) when your code needs to perform the randomize operation. |
How this member is tested
Act: Functions.RANDOMIZE()
Assert: no exception is thrown and the expected side effect occurred.
Expected: No return value; verify the intended side effect occurred (state change, event raised, or exception NOT thrown for valid input).
Overload 2
The RANDOMIZE statement initialises the random number generator.
| Kind | Method (static) |
| Returns | void |
| Use case | Call Functions.RANDOMIZE(...) directly (no instance required) when your code needs to perform the randomize operation using the supplied value. |
How this member is tested
Act: Functions.RANDOMIZE(/* a valid DynamicArray value */)
Assert: no exception is thrown and the expected side effect occurred.
Expected: No return value; verify the intended side effect occurred (state change, event raised, or exception NOT thrown for valid input).
READ¶
Overload 1
static bool Functions.READ(DynamicArray fileVariable, DynamicArray key, DynamicArray record, DynamicArray attribute, bool lockRecord, bool throwLockedException, bool throwErrorException)
Performs the read operation using the supplied fileVariable, key, record, attribute, lockRecord, throwLockedException, throwErrorException.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.READ(...) directly (no instance required) when your code needs to perform the read operation using the supplied fileVariable, key, record, attribute, lockRecord, throwLockedException, throwErrorException. |
How this member is tested
Act: var result = Functions.READ(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, true, true, true)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the read check for the given input.
Overload 2
static bool Functions.READ(DynamicArray fileVariable, DynamicArray key, DynamicArray record, DynamicArray attribute, bool lockRecord, bool throwLockedException, bool throwErrorException, bool readCache)
Performs the read operation using the supplied fileVariable, key, record, attribute, lockRecord, throwLockedException, throwErrorException, readCache.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.READ(...) directly (no instance required) when your code needs to perform the read operation using the supplied fileVariable, key, record, attribute, lockRecord, throwLockedException, throwErrorException, readCache. |
How this member is tested
Act: var result = Functions.READ(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, true, true, true, true)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the read check for the given input.
READBLK¶
static bool Functions.READBLK(DynamicArray fileVariable, DynamicArray returnVar, int blockSize, bool throwErrorException)
Performs the readblk operation using the supplied fileVariable, returnVar, blockSize, throwErrorException.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.READBLK(...) directly (no instance required) when your code needs to perform the readblk operation using the supplied fileVariable, returnVar, blockSize, throwErrorException. |
How this member is tested
Act: var result = Functions.READBLK(/* a valid DynamicArray value */, /* a valid DynamicArray value */, 1, true)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the readblk check for the given input.
READINDEX¶
static bool Functions.READINDEX(DynamicArray fileVariable, DynamicArray record, bool keyOnly, bool lockRecord, bool throwLockedException, bool throwErrorException)
Performs the readindex operation using the supplied fileVariable, record, keyOnly, lockRecord, throwLockedException, throwErrorException.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.READINDEX(...) directly (no instance required) when your code needs to perform the readindex operation using the supplied fileVariable, record, keyOnly, lockRecord, throwLockedException, throwErrorException. |
How this member is tested
Act: var result = Functions.READINDEX(/* a valid DynamicArray value */, /* a valid DynamicArray value */, true, true, true, true)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the readindex check for the given input.
READLIST¶
Overload 1
Performs the readlist operation using the supplied returnVar, listNumber.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.READLIST(...) directly (no instance required) when your code needs to perform the readlist operation using the supplied returnVar, listNumber. |
How this member is tested
Act: var result = Functions.READLIST(/* a valid DynamicArray value */, 1)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the readlist check for the given input.
Overload 2
Performs the readlist operation using the supplied returnVar, settingVar, listNumber.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.READLIST(...) directly (no instance required) when your code needs to perform the readlist operation using the supplied returnVar, settingVar, listNumber. |
How this member is tested
Act: var result = Functions.READLIST(/* a valid DynamicArray value */, /* a valid DynamicArray value */, 1)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the readlist check for the given input.
Overload 3
Performs the readlist operation using the supplied returnVar, listName.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.READLIST(...) directly (no instance required) when your code needs to perform the readlist operation using the supplied returnVar, listName. |
How this member is tested
Act: var result = Functions.READLIST(/* a valid DynamicArray value */, "sample")
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the readlist check for the given input.
Overload 4
Performs the readlist operation using the supplied returnVar, settingVar, listName.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.READLIST(...) directly (no instance required) when your code needs to perform the readlist operation using the supplied returnVar, settingVar, listName. |
How this member is tested
Act: var result = Functions.READLIST(/* a valid DynamicArray value */, /* a valid DynamicArray value */, "sample")
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the readlist check for the given input.
READNEXT¶
Overload 1
Performs the readnext operation using the supplied returnVar, listVariable.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.READNEXT(...) directly (no instance required) when your code needs to perform the readnext operation using the supplied returnVar, listVariable. |
How this member is tested
Act: var result = Functions.READNEXT(/* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the readnext check for the given input.
Overload 2
Performs the readnext operation using the supplied returnVar, listNumber.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.READNEXT(...) directly (no instance required) when your code needs to perform the readnext operation using the supplied returnVar, listNumber. |
How this member is tested
Act: var result = Functions.READNEXT(/* a valid DynamicArray value */, 1)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the readnext check for the given input.
Overload 3
static bool Functions.READNEXT(DynamicArray returnVar, DynamicArray returnValue, DynamicArray returnSubvalue, int listNumber)
Performs the readnext operation using the supplied returnVar, returnValue, returnSubvalue, listNumber.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.READNEXT(...) directly (no instance required) when your code needs to perform the readnext operation using the supplied returnVar, returnValue, returnSubvalue, listNumber. |
How this member is tested
Act: var result = Functions.READNEXT(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, 1)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the readnext check for the given input.
Overload 4
Performs the readnext operation using the supplied returnVar, returnValue, listNumber.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.READNEXT(...) directly (no instance required) when your code needs to perform the readnext operation using the supplied returnVar, returnValue, listNumber. |
How this member is tested
Act: var result = Functions.READNEXT(/* a valid DynamicArray value */, /* a valid DynamicArray value */, 1)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the readnext check for the given input.
READSEQ¶
static bool Functions.READSEQ(DynamicArray fileVariable, DynamicArray returnVar, bool throwErrorException)
Performs the readseq operation using the supplied fileVariable, returnVar, throwErrorException.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.READSEQ(...) directly (no instance required) when your code needs to perform the readseq operation using the supplied fileVariable, returnVar, throwErrorException. |
How this member is tested
Act: var result = Functions.READSEQ(/* a valid DynamicArray value */, /* a valid DynamicArray value */, true)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the readseq check for the given input.
READSOCKET¶
static int Functions.READSOCKET(DynamicArray socket, DynamicArray socketData, DynamicArray readSize, DynamicArray timeOut, DynamicArray blockingMode, DynamicArray actualSize)
Performs the readsocket operation using the supplied socket, socketData, readSize, timeOut, blockingMode, actualSize.
| Kind | Method (static) |
| Returns | int |
| Use case | Call Functions.READSOCKET(...) directly (no instance required) when your code needs to perform the readsocket operation using the supplied socket, socketData, readSize, timeOut, blockingMode, actualSize. |
How this member is tested
Act: var result = Functions.READSOCKET(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result equals the expected computed value.
Expected: Returns a int value; verify it equals the expected computed result for the given input.
READ_QUEUE¶
Performs the read_queue operation using the supplied mq, timeout.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.READ_QUEUE(...) directly (no instance required) when your code needs to perform the read_queue operation using the supplied mq, timeout. |
How this member is tested
Act: var result = Functions.READ_QUEUE(/* a valid DynamicArray value */, 1)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
READ_SOCKET¶
static DynamicArray Functions.READ_SOCKET(DynamicArray socket, int readSize, int flags, int timeout)
Performs the read_socket operation using the supplied socket, readSize, flags, timeout.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.READ_SOCKET(...) directly (no instance required) when your code needs to perform the read_socket operation using the supplied socket, readSize, flags, timeout. |
How this member is tested
Act: var result = Functions.READ_SOCKET(/* a valid DynamicArray value */, 1, 1, 1)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
RECORDLOCK¶
static bool Functions.RECORDLOCK(DynamicArray fileVariable, DynamicArray recordId, bool throwLockedException)
Performs the recordlock operation using the supplied fileVariable, recordId, throwLockedException.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.RECORDLOCK(...) directly (no instance required) when your code needs to perform the recordlock operation using the supplied fileVariable, recordId, throwLockedException. |
How this member is tested
Act: var result = Functions.RECORDLOCK(/* a valid DynamicArray value */, /* a valid DynamicArray value */, true)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the recordlock check for the given input.
RECORDLOCKED¶
Performs the recordlocked operation using the supplied fileVariable, recordId.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.RECORDLOCKED(...) directly (no instance required) when your code needs to perform the recordlocked operation using the supplied fileVariable, recordId. |
How this member is tested
Act: var result = Functions.RECORDLOCKED(/* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
REGEX¶
Performs the regex operation using the supplied value, regex.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.REGEX(...) directly (no instance required) when your code needs to perform the regex operation using the supplied value, regex. |
How this member is tested
Act: var result = Functions.REGEX(/* a valid DynamicArray value */, "sample")
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the regex check for the given input.
RELEASE¶
Overload 1
Performs the release operation.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.RELEASE(...) directly (no instance required) when your code needs to perform the release operation. |
How this member is tested
Act: var result = Functions.RELEASE()
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the release check for the given input.
Overload 2
Performs the release operation using the supplied fileVariable.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.RELEASE(...) directly (no instance required) when your code needs to perform the release operation using the supplied fileVariable. |
How this member is tested
Act: var result = Functions.RELEASE(/* a valid DynamicArray value */)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the release check for the given input.
Overload 3
Performs the release operation using the supplied fileVariable, recordId.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.RELEASE(...) directly (no instance required) when your code needs to perform the release operation using the supplied fileVariable, recordId. |
How this member is tested
Act: var result = Functions.RELEASE(/* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the release check for the given input.
REM¶
Performs the rem operation using the supplied value1, value2.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.REM(...) directly (no instance required) when your code needs to perform the rem operation using the supplied value1, value2. |
How this member is tested
Act: var result = Functions.REM(/* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
REMOTE_EXECUTE¶
Performs the remote_execute operation using the supplied command, remoteAcc.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.REMOTE_EXECUTE(...) directly (no instance required) when your code needs to perform the remote_execute operation using the supplied command, remoteAcc. |
How this member is tested
Act: var result = Functions.REMOTE_EXECUTE(/* a valid DynamicArray value */, "sample")
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
REMOVE¶
Performs the remove operation using the supplied value, pos.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.REMOVE(...) directly (no instance required) when your code needs to perform the remove operation using the supplied value, pos. |
How this member is tested
Act: var result = Functions.REMOVE(/* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
REPLACE¶
Overload 1
Performs the replace operation using the supplied variable, value.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.REPLACE(...) directly (no instance required) when your code needs to perform the replace operation using the supplied variable, value. |
How this member is tested
Act: var result = Functions.REPLACE(/* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
Overload 2
Performs the replace operation using the supplied variable, attribute, value.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.REPLACE(...) directly (no instance required) when your code needs to perform the replace operation using the supplied variable, attribute, value. |
How this member is tested
Act: var result = Functions.REPLACE(/* a valid DynamicArray value */, 1, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
Overload 3
static DynamicArray Functions.REPLACE(DynamicArray variable, int attribute, int multivalue, DynamicArray value)
Performs the replace operation using the supplied variable, attribute, multivalue, value.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.REPLACE(...) directly (no instance required) when your code needs to perform the replace operation using the supplied variable, attribute, multivalue, value. |
How this member is tested
Act: var result = Functions.REPLACE(/* a valid DynamicArray value */, 1, 1, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
Overload 4
static DynamicArray Functions.REPLACE(DynamicArray variable, int attribute, int multivalue, int subvalue, DynamicArray value)
Performs the replace operation using the supplied variable, attribute, multivalue, subvalue, value.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.REPLACE(...) directly (no instance required) when your code needs to perform the replace operation using the supplied variable, attribute, multivalue, subvalue, value. |
How this member is tested
Act: var result = Functions.REPLACE(/* a valid DynamicArray value */, 1, 1, 1, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
RESTAPI¶
Overload 1
static DynamicArray Functions.RESTAPI(DynamicArray type, DynamicArray url, DynamicArray keyValuePair, DynamicArray contentType, DynamicArray authorization)
Performs the restapi operation using the supplied type, url, keyValuePair, contentType, authorization.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.RESTAPI(...) directly (no instance required) when your code needs to perform the restapi operation using the supplied type, url, keyValuePair, contentType, authorization. |
How this member is tested
Act: var result = Functions.RESTAPI(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
Overload 2
static DynamicArray Functions.RESTAPI(DynamicArray type, DynamicArray url, DynamicArray keyValuePair, DynamicArray contentType, DynamicArray authorization, DynamicArray headers)
Performs the restapi operation using the supplied type, url, keyValuePair, contentType, authorization, headers.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.RESTAPI(...) directly (no instance required) when your code needs to perform the restapi operation using the supplied type, url, keyValuePair, contentType, authorization, headers. |
How this member is tested
Act: var result = Functions.RESTAPI(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
Overload 3
static DynamicArray Functions.RESTAPI(DynamicArray type, DynamicArray url, DynamicArray keyValuePair, DynamicArray contentType)
Performs the restapi operation using the supplied type, url, keyValuePair, contentType.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.RESTAPI(...) directly (no instance required) when your code needs to perform the restapi operation using the supplied type, url, keyValuePair, contentType. |
How this member is tested
Act: var result = Functions.RESTAPI(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
REUSE¶
Performs the reuse operation using the supplied array1.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.REUSE(...) directly (no instance required) when your code needs to perform the reuse operation using the supplied array1. |
How this member is tested
Act: var result = Functions.REUSE(/* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
RIGHT¶
Overload 1
Performs the right operation using the supplied value.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.RIGHT(...) directly (no instance required) when your code needs to perform the right operation using the supplied value. |
How this member is tested
Act: var result = Functions.RIGHT(/* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
Overload 2
Performs the right operation using the supplied value, length.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.RIGHT(...) directly (no instance required) when your code needs to perform the right operation using the supplied value, length. |
How this member is tested
Act: var result = Functions.RIGHT(/* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
RND¶
Performs the rnd operation using the supplied value.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.RND(...) directly (no instance required) when your code needs to perform the rnd operation using the supplied value. |
How this member is tested
Act: var result = Functions.RND(/* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
ROLLBACKTRANSACTION¶
Performs the rollbacktransaction operation.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.ROLLBACKTRANSACTION(...) directly (no instance required) when your code needs to perform the rollbacktransaction operation. |
How this member is tested
Act: var result = Functions.ROLLBACKTRANSACTION()
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the rollbacktransaction check for the given input.
ROOT¶
Performs the root operation using the supplied fileName, indexName, rootVar.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.ROOT(...) directly (no instance required) when your code needs to perform the root operation using the supplied fileName, indexName, rootVar. |
How this member is tested
Act: var result = Functions.ROOT(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the root check for the given input.
ROOTCLOSE¶
Performs the rootclose operation using the supplied rootVar.
| Kind | Method (static) |
| Returns | void |
| Use case | Call Functions.ROOTCLOSE(...) directly (no instance required) when your code needs to perform the rootclose operation using the supplied rootVar. |
How this member is tested
Act: Functions.ROOTCLOSE(/* a valid DynamicArray value */)
Assert: no exception is thrown and the expected side effect occurred.
Expected: No return value; verify the intended side effect occurred (state change, event raised, or exception NOT thrown for valid input).