grafast
Version:
Cutting edge GraphQL planning and execution engine
15 lines • 569 B
TypeScript
/**
* Similar to `JSON.stringify(string)`, but faster. Bizarrely this seems to be
* faster than the regexp approach
*/
export declare function stringifyString(value: string): string;
/**
* Equivalent to JSON.stringify, but typically faster.
*/
export declare const stringifyJSON: (value: any) => string;
/**
* Returns true if the given key is safe to set as the key of a POJO (without a
* null prototype), false otherwise.
*/
export declare const isSafeObjectPropertyName: (key: string | symbol | number) => boolean;
//# sourceMappingURL=tamedevilUtils.d.ts.map