UNPKG

jsmodern

Version:

An extension to existing JavaScript, influenced by other great languages such as Rust, Dart, Java, Golang, etc.

12 lines 325 B
import type { PrototypeStruct } from '../index.js'; declare type AllPredicate<T> = (value: T) => boolean; interface All<T> { all(predicate: AllPredicate<T>): boolean; } export declare const all: PrototypeStruct; declare global { interface Array<T> extends All<T> { } } export {}; //# sourceMappingURL=all.d.ts.map