Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/security / / createGuard

Function: createGuard() ​

ts
function createGuard(opts): MemoryModificationGuard;

Defined in: packages/security/src/guard/factory.ts:32

Stable

Construct a guard for the supplied tier.

Parameters ​

ParameterType
optsCreateGuardOptions

Returns ​

MemoryModificationGuard