functionOf

fun functionOf(supportedSignature: Signature, uncheckedFunction: PrologFunction): PrologFunction

Creates a new PrologFunction, behaving exactly as given uncheckedFunction, but accepting only provided supportedSignature as Compute.Request signature, throwing IllegalArgumentException otherwise