UNPKG

@bscotch/gamemaker-releases

Version:

Utility for combining GameMaker release data into a single feed.

9 lines 557 B
import { z } from 'zod'; export type ArrayItemScore<T> = (item: T, idx: number, items: T[]) => number; export declare function findMax<T>(items: T[]): T; export declare function findMax<T>(items: T[], byProperty: keyof T): T; export declare function findMax<T>(items: T[], score: ArrayItemScore<T>): T; export declare function htmlString(): z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>; export declare function countNonUnique(arr: any[]): number; export declare function isError(thing: unknown): thing is Error; //# sourceMappingURL=utils.d.ts.map