Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

node

import { node } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/free.ts";

Create a Node containing a single value.

@example
import { node } from "./free.ts";

const singleValue = node(42);
console.log(singleValue); // { tag: "Node", value: 42 }
function node<A>(value: A): Free<A>;
§
node<A>(value: A): Free<A>
[src]

§Type Parameters

§Parameters

§
value: A
[src]

§Return Type