UNPKG

graphdb

Version:

Javascript client library supporting GraphDB and RDF4J REST API.

29 lines (28 loc) 858 B
export = StringUtils; /** * Class with utility methods related to strings. * * @class * @author Mihail Radkov * @author Svilen Velikov */ declare class StringUtils { /** * Tells if the provided string is null or blank ignoring * whitespace characters. * * @param {string} string the string to check * @return {boolean} <code>true</code> if the string is blank or * <code>false</code> otherwise */ static isBlank(string: string): boolean; /** * Tells if the provided string is NOT null and NOT blank ignoring * whitespace characters. * * @param {string} string the string to check * @return {boolean} <code>true</code> if the string is not blank or * <code>false</code> otherwise */ static isNotBlank(string: string): boolean; }