• Given an optional value anOption, returns the value contained inside. Raises an error if anOption is nothing.

    Parameters

    • anOption: Option<any>

      the optional value considered

    Returns any

    • the contents of anOption