Home > @gglib/utils > trim

trim() function

Removes leading and trailing spaces of a string

Signature:

export declare function trim(value: string): string;

Parameters

Parameter Type Description
value string

Returns:

string