todocument() Function

Converts a value to Document.

Syntax

todocument( value, … )

value: (Any Type) Value to convert.

Returns

Document

Notes

The value parameter accepts Text, Integer, Decimal, and Array types.

When operating on arrays, it is not necessary to use apply with todocument. If multiple parameters are passed, or one parameter is an Array, todocument will return a Document Array.

Examples

todocument(37) returns [Document:37]

todocument(37,38) and todocument({37,38}) both return {[Document:37],[Document:38]}

Open in Github Built: Fri, Jun 24, 2022 (02:09:25 PM)

On This Page

FEEDBACK