@n3okill/utils
Version:
Many javascript helpers
14 lines (13 loc) • 352 B
TypeScript
/**
* @internal
*/
export type TransformFunctionType = <T>(value: T, key?: unknown) => T;
/**
* Check if a transformation function should be applied to an object
* @internal
* @param value
* @param transform
* @param key
* @returns
*/
export declare const _checkTransform: <T>(value: T, transform?: TransformFunctionType, key?: unknown) => T;