For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /api/functions/Option.none.md.

Function: none()

none(): Option<never>

Creates a None: an Option that holds no value.

Returns

Option<never>

A None.

Example

import { 
import Option
Option
} from 'byenull';
const
const option: Option.Option<never>
option
=
import Option
Option
.
function none(): Option.Option<never>

Creates a None : an Option that holds no value.

@returnsA None.@example
import { Option } from 'byenull';

const option = Option.none();
// { type: 'None' }
@categoryCreators
none
();
// { type: 'None' }