Table of contents
TOC
Collapse the table of content
Expand the table of content

Value.As

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

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  

Arguments

ArgumentDescription
valueThe value as.
typeAsserts that the value of a value argument is compatible with type.
© 2018 Microsoft