tocommunity() Function

Function

tocommunity( value )

Converts a value to Community.

Parameters

Keyword Type Description

value

Any Type

Value to convert.

Returns

Community

Usage considerations

Using the value parameter

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

Using tocommunity() with arrays

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]}

Open in Github Built: Fri, Sep 17, 2021 (04:05:09 PM)

On This Page

FEEDBACK