import { empty } from "https://deno.land/x/ramda@v0.27.2/mod.ts";
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.
Dispatches to the empty
method of the first argument, if present.