UNPKG

jsmodern

Version:

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

11 lines 324 B
import { PrototypeStruct } from '..'; declare type AnyPredicate<T> = (value: T) => boolean; export declare type AnyFn<T> = (predicate: AnyPredicate<T>) => boolean; export declare const any: PrototypeStruct; declare global { interface Array<T> { any: AnyFn<T>; } } export {}; //# sourceMappingURL=any.d.ts.map