UNPKG

@methodus/server

Version:
14 lines (13 loc) 628 B
export declare class fp { static maybe(object: any): any; static unique(myArray: any): any; static transform(object: any, iteratee: any, accumulator: any): any; static maybeProto(object: any): any; static maybeMethodus(object: any): any; static maybeEach(object: any, callback: any): void; static array(object: any): any[]; static maybeJson(object: any): Object; static maybeString(object: any): string; static if(condition: any, trueaction?: Function, falseaction?: Function): any; static ensure(object: Object, property: string | string[], defaultValue?: any): void; }