UNPKG

jebjust

Version:

Return only what you want, the most specialized javascript module ever.

19 lines 593 B
/** * The types that are supported by 'just' function */ export declare type justSupportedType = any; /** * Uses just API to return just the thing that you want * @param me The thing that you want * @returns The thing that you want * @example * // Try this examples and see how justjs works!!! * just(3) * just("Hello World") * just(false) * just([1,2,3,4,5]) * just(() => console.log(just("Hello World Again"))) * just({foo: "bar", hello: "world"}) */ export declare const just: (me: justSupportedType) => justSupportedType; //# sourceMappingURL=index.d.ts.map