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