Skip to main content
Version: Next

CommonValidatorFunctions.isValidString()

Home > @backstage/catalog-model > CommonValidatorFunctions > isValidString

Warning: This API is now obsolete.

use isNonEmptyString instead

Checks that the value is a non empty string value.

Signature:

static isValidString(value: unknown): boolean;

Parameters

Parameter

Type

Description

value

unknown

The value to check

**Returns:**

boolean