• Resolve anything to a defined value. If a function is provided, then the return of that function is returned.

    Parameters

    • property: unknown

      Property to resolve.

    • Optional whenUndefined: unknown

      Default value if undefined.

    • Optional params: AnyDict

      Parameters to apply, if property is a function.

    • Optional bindObj: unknown

      Object to bind, if the "this" property needs to be accessible.

    Returns any