hashId

Source
import { hashId } from "@prestojs/util";
hashId(id)

Create string representation of ID suitable for strict equality checking or as a key into an object / map.

ParameterTypeDescription
*idId
string