Skip to main content
Module

x/hkts/option.ts>isSome

Functional programming tools: option, either, task, state, optics, etc.
Latest
variable isSome
import { isSome } from "https://deno.land/x/hkts@v0.0.52/option.ts";

Tests wether an Option is Some. Can be used as a predicate.

type

<A>(m: Option<A>) => m is Some<A>