Creates a new Cat contained value.
Cat
value
A value will be contained.
A new created Cat.
import { cat } from "./cat.ts";import { assertEquals } from "../deps.ts";const result = cat(-3) .feed((x) => x ** 2) .feed((x) => x.toString());assertEquals(result.value, "9"); Copy
import { cat } from "./cat.ts";import { assertEquals } from "../deps.ts";const result = cat(-3) .feed((x) => x ** 2) .feed((x) => x.toString());assertEquals(result.value, "9");
Generated using TypeDoc
Creates a new
Cat
containedvalue
.