Umi — API References - v1.3.0
    Preparing search index...

    Variable unwrapSomeConst

    unwrapSome: <T>(option: Option<T>) => Nullable<T>

    Unwraps the value of an Option of type T. If the option is a Some, it returns its value, Otherwise, it returns null.

    Type Declaration

    Use unwrapOption instead.