Value.As is the function corresponding to the as operator in the formula language. The expression value as type asserts that the value of a value argument is compatible with type as per the is operator. If it is not compatible, an error is raised.
Value.As(value as any, type as type) as any
|value||The value as.|
|type||Asserts that the value of a value argument is compatible with type.|