@lacrypta/nomad v0.0.0 / dependencyFrom
function dependencyFrom(func: AnyFunction, fName?: string): Dependency
Construct a new Dependency from the given Function instance.
• func: AnyFunction
Function to use for constructing the Dependency.
• fName?: string
Name to use instead if given.
The constructed Dependency.
if the given argument is not a Function.