function Of
fun functionOf(supportedSignature: Signature, uncheckedFunction: PrologFunction): PrologFunction
Content copied to clipboard
Creates a new PrologFunction, behaving exactly as given uncheckedFunction, but accepting only provided supportedSignature as Compute.Request signature, throwing IllegalArgumentException otherwise