with a non-null/non-undefined value.">
Skip to content

nullishFilled ​

Builds an Right<"nullish"> with a non-null/non-undefined value.

Interactive example ​

Syntax ​

typescript
function nullishFilled<
	const GenericInput extends unknown
>(
  input: GenericInput
): NullishFilled<GenericInput>;

Parameters ​

  • input: Defined value.

Return value ​

NullishFilled<GenericInput> representing a “present” case.

See also ​

Released under the MIT license.