dsmodels (version 1.1.0)

safe.apply: Abstract a Function which does not Crash Upon Failure

Description

This function takes a boolean function and abstracts it. If the given function fails, the program will not crash.

Usage

safe.apply(fun, inp)

Arguments

fun

Input function to abstract.

inp

Input to that function.