@jkcfg/std
Version:
jk standard library
16 lines (15 loc) • 591 B
TypeScript
/**
* @module std/param
*/
export declare function Boolean(path: string, defaultValue?: boolean): boolean | undefined;
export declare function Number(path: string, defaultValue?: number): number | undefined;
export declare function String(path: string, defaultValue?: string): string | undefined;
export declare function Object(path: string, defaultValue?: object): object | undefined;
export declare function all(): object;
export declare const param: {
all: typeof all;
Boolean: typeof Boolean;
Number: typeof Number;
String: typeof String;
Object: typeof Object;
};