Import
import { RefOption } from "@typed/fx";This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export * as RefOption from "./RefOption.js";Members
RefOption.RefOptionA RefOption is a RefSubject specialized over an Option value.
RefOption.containsCheck if the current state of a RefOption contains a value.
RefOption.existsCheck if the value inside the Option satisfies a predicate.
RefOption.filterFilter the value inside the Option of a RefOption.
RefOption.flatMapFlatMap the value inside the Option of a RefOption.
RefOption.getOrElseGet the value from the Option or use a fallback value.
RefOption.getValueGet the value from the Option as a Filtered (fails if None).
RefOption.isNoneCheck if the current state of a RefOption is None.
RefOption.isSomeCheck if the current state of a RefOption is Some.
RefOption.makeCreates a new
RefOptionfrom an Option,Effect, orFx.RefOption.mapMap the value inside the Option of a RefOption.
RefOption.setNoneSet the current state of a RefOption to None.
RefOption.setSomeSet the current state of a RefOption to Some(value).