Skip to main content
Module

x/ramda/source/empty.js

:ram: Practical functional Javascript
Latest
import * as ramda from "https://deno.land/x/ramda@v0.27.2/source/empty.js";

Variables

Returns the empty value of its argument's type. Ramda defines the empty value of Array ([]), Object ({}), String (''), TypedArray (Uint8Array [], Float32Array [], etc), and Arguments. Other types are supported if they define <Type>.empty, <Type>.prototype.empty or implement the FantasyLand Monoid spec.