unleash-client
Version:
Unleash Client for Node
9 lines • 637 B
TypeScript
import { Context } from './context';
export type FallbackFunction = (name: string, context: Context) => boolean;
export declare function createFallbackFunction(name: string, context: Context, fallback?: FallbackFunction | boolean): Function;
export declare function resolveContextValue(context: Context, field: string): string | undefined;
export declare function safeName(str?: string): string;
export declare function generateInstanceId(instanceId?: string): string;
export declare function generateHashOfConfig(o: Object): string;
export declare function getAppliedJitter(jitter: number): number;
//# sourceMappingURL=helpers.d.ts.map