LogoRobo.js
Framework

encodeUniqueValue()

Function: encodeUniqueValue()

function encodeUniqueValue(value): string

Encode a value for use in unique index keys.

Values are encoded to be safe in key paths while remaining somewhat readable when possible.

Parameters

ParameterTypeDescription
valueunknownThe value to encode

Returns

string

Safe key component

On this page