Home > @websublime/schema > StringType

StringType() function

Creates instance StringType

Signature:

export declare function StringType(errorMessage?: string): StringSchemaType;

Parameters

ParameterTypeDescription
errorMessagestring

Returns:

StringSchemaType