Skip to content
View as Markdown
View as Markdown

@salesforce/b2c-tooling-sdk / safety / isValidSafetyLevel

Function: isValidSafetyLevel()

isValidSafetyLevel(value): value is SafetyLevel

Defined in: packages/b2c-tooling-sdk/src/safety/safety-middleware.ts:63

Check if a string is a valid SafetyLevel.

Parameters

value

string

Returns

value is SafetyLevel

Released under the Apache-2.0 License.