insertBodyItem

abstract fun insertBodyItem(index: Int, argument: Term): Clause

Creates a novel Clause which is a copy of the current one, except that argument is inserted into bodyItems at position index.

Throws