Skip to main content

Interface: Some<T>

license MIT

copyright 2020 1Computer

The value exists.

Type parameters

NameDescription
TType of results.

Properties

exists

Readonly exists: true

If this is a Some, this is true.

Defined in

node_modules/@sapphire/result/dist/lib/Lexure.d.ts:57


value

Readonly value: T

The value, which only exists on a Some.

Defined in

node_modules/@sapphire/result/dist/lib/Lexure.d.ts:61