Developer Preview — This project is in active development. APIs may change. Provide feedback
Skip to content

@salesforce/b2c-tooling-sdk / operations/ods / isFriendlySandboxId

Function: isFriendlySandboxId()

isFriendlySandboxId(value): boolean

Defined in: packages/b2c-tooling-sdk/src/operations/ods/sandbox-lookup.ts:75

Checks if a string matches the friendly sandbox ID format (realm-instance or realm_instance).

Parameters

value

string

The string to check

Returns

boolean

true if the value matches the friendly format

Released under the Apache-2.0 License.