uniqueId

Util
since 0.1.0

Arguments

  • string The value to prefix the ID with.

Returns

string the unique ID.

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

Example of Lodash _.uniqueId

_.uniqueId('contact_');
// => 'contact_104'

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