Sometype Some<T> = Readonly<{ __option: "Some"; value: T; }>; Represents an Option that contains a value. This type mirrors Rust’s Some(T), indicating that a value is present. For more details, see Option. Type Parameters Type ParameterDescriptionTThe type of the contained value. Example Creating a Some value. const value = some(42); isSome(value); // true isNone(value); // false See Option some isSome