blob: dd9733e9ffd29b7024dd3a7b0b59a85db7b62bfd (
plain)
1
2
3
4
5
6
7
8
|
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export function isEmptyOrWhitespace(str: string): boolean {
return /^\s*$/.test(str);
}
|