Power Query
published
Search
⌃K

ItemExpression.From

ItemExpression.From

Returns the AST for the body of a function.
function (function as function) as record

Description

Returns the AST for the body of function, normalized into an item expression:
</li>
</p> </p>An error is raised if an item expression AST cannot be returned for the body of function.</p>

Category

Table.Table construction

Examples

Returns the AST for the body of the function each _ <> null
ItemExpression.From(each _ <> null)
[ Kind = "Binary", Operator = "NotEquals", Left = ItemExpression.Item, Right = [ Kind = "Constant", Value = null ] ]