tocommunity() Function

Converts a value to Community.

Syntax

tocommunity( value, … )

value: (Any Type) Value to convert.

Returns

Community

Notes

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

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

Examples

You can experiment with this function in the test box below.

Test Input

tocommunity(37) returns [Community:37]

tocommunity(37,38) and tocommunity({37,38}) both return {[Community:37],[Community:38]}

FEEDBACK