Skip to main content
Module

x/lodash_es/mod.ts>uniqueId

lodash for deno use
Latest
function uniqueId
import { uniqueId } from "https://deno.land/x/lodash_es@v0.0.2/mod.ts";

Generates a unique ID. If prefix is given, the ID is appended to it.

Examples

.uniqueId('contact'); // => 'contact_104'

_.uniqueId(); // => '105'