Converts a value to User.
touser( value, … )
value (Any Type): Value to convert.
User
The value parameter accepts User, Text, Binary, People, and Array types.
When operating on arrays, it is not necessary to use apply
with touser
. If multiple parameters are passed, or one parameter is an Array, then touser
will return a User Array.
You can experiment with this function in the test box below.
Test Input
touser("john.doe")
returns john.doe
.
touser("john.doe","jane.doe")
and touser({"john.doe","jane.doe"})
both return {john.doe, jane.doe}