isFirstStatement¶
fun KtElement.isFirstStatement(): Boolean
Returns true if this element is the first statement of its enclosing block.
If this element is the receiver of a dot-qualified expression, the check is applied to that whole expression instead. For example, foo returns true when foo.bar() is the first statement of the block.