MCPcopy
hub / github.com/mathuo/dockview / last

Function last

packages/dockview-core/src/array.ts:9–11  ·  view source on GitHub ↗
(arr: T[])

Source from the content-addressed store, hash-verified

7}
8
9export function last<T>(arr: T[]): T | undefined {
10 return arr.length > 0 ? arr[arr.length - 1] : undefined;
11}
12
13export function sequenceEquals<T>(arr1: T[], arr2: T[]): boolean {
14 if (arr1.length !== arr2.length) {

Callers 1

array.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…