Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/prelude_js/unary.ts>length

A standard module for functional programming in JavaScript
Go to Latest
function length
import { length } from "https://deno.land/x/prelude_js@1.0.0-beta.2/unary.ts";

Returns the length.

Type Parameters

T extends Readonly<{ length: unknown; }>

Returns

T["length"]