LogoRobo.js
Framework

validateNotReserved()

Function: validateNotReserved()

function validateNotReserved(key, operation): void

Validate that a key does not use reserved prefixes.

Throws SafetyError if the key starts with a reserved prefix.

Parameters

ParameterTypeDescription
keystringThe key to validate
operation"delete" | "set"The operation being performed (for error message)

Returns

void

On this page