isObjectLiteral¶ fun KtClassOrObject.isObjectLiteral(): Boolean Returns true if this is the body of an object literal (object : Foo { ... }). jvm