Creates a new Option of type T that has a value.

Option

  • Type Parameters

    • T

    Parameters

    • value: T

    Returns Option<T>