FuncType - v0.8.64
    Preparing search index...

    Function Some

    • Creates a Some variant of Option containing a value.

      Type Parameters

      • T extends unknown

        The type of the value

      Parameters

      • value: T

        The value to wrap in Some

      Returns Option<T>

      A new Some instance containing the value