Page Contents

Home > @loopback/context > uuid

uuid() function

Warning: This API is now obsolete.

Use [uuid](https://www.npmjs.com/package/uuid) or [hyperid](https://www.npmjs.com/package/hyperid) instead.

A utility to generate uuid v4

Signature:

export declare function uuid(): string;

Returns:

string