removeComment

fun removeComment(groupName: String? = null, key: String? = null): <Error class: unknown class><Boolean>

Removes a comment above @key from @group_name. If @key is null then @comment will be removed above @group_name. If both @key and @group_name are null, then @comment will be removed above the first group in the file.

Return

true if the comment was removed, false otherwise

Since

2.6

Parameters

groupName

a group name, or null

key

a key