Overload List
Overload 1: class function IsNullOrEmpty(const Value: Char): Boolean; overload; static; inline;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Char |
Returns: Boolean
Overload 2: class function IsNullOrEmpty(const Value: PChar): Boolean; overload; static; inline;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | PChar |
Returns: Boolean
Overload 3: class function IsNullOrEmpty(const Value: RawByteString): Boolean; overload; static;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | RawByteString |
Returns: Boolean
Overload 4: class function IsNullOrEmpty(const Value: Substr.Substring): Boolean; overload; static; inline;
Whether Value is empty, for every text kind.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Substr.Substring |
Returns: Boolean
Examples
Empty and non-empty texts.
uses Substr;
procedure Example;
begin
Assert(Substring.IsNullOrEmpty(Substring('')));
Assert(not Substring.IsNullOrEmpty('a'));
end;
Overload 5: class function IsNullOrEmpty(const Value: WideString): Boolean; overload; static; inline;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | WideString |
Returns: Boolean
Overload 6: class function IsNullOrEmpty(const Value: string): Boolean; overload; static; inline;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | string |
Returns: Boolean