getExpressionBody method
ExpressionFunctionBody?
getExpressionBody()
Returns the function body of type ExpressionFunctionBody if the current node is such.
Return value:
ExpressionFunctionBody?: The function body of typeExpressionFunctionBody, ornullif not applicable.
Implementation
ExpressionFunctionBody? getExpressionBody() =>
getNodeOfExactType<ExpressionFunctionBody>();