UNPKG

@knowmax/genericlist-core

Version:

Knowmax Generic list with basic CRUD support without any user interface implementation.

7 lines (6 loc) 486 B
/** Returns given param id optionally prefixed with id of given list. */ export declare const getParamId: (id: string, listId?: string) => string; /** Get value for param with id optionally prefixed with id of given list. */ export declare const getParamValue: (id: string, params: URLSearchParams, listId?: string) => string | null; /** Returns true if given id starts with given listId, false otherwise. */ export declare const hasListPrefix: (id: string, listId: string) => boolean;