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

Description Usage Arguments

Description

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

Usage

1
safe.apply(fun, inp)

Arguments

fun

Input function to abstract.

inp

Input to that function.


dsmodels documentation built on May 2, 2019, 8:35 a.m.