Checks if a string is empty.
Parameters
strresultSignature
METHODS empty IMPORTING str TYPE string
RETURNING VALUE(result) TYPE abap_bool.
| Library | Role | Version | License |
|---|---|---|---|
| Astro | Site framework | 6.3.1 | MIT |
| Astro React | React integration | 5.0.4 | MIT |
| Astro Sitemap | Sitemap generation | 3.7.2 | MIT |
| UI5 Web Components | UI primitives | 2.22.0 | Apache-2.0 |
| UI5 Web Components Fiori | Fiori shell components | 2.22.0 | Apache-2.0 |
| UI5 Web Components Icons | Icon set | 2.22.0 | Apache-2.0 |
| UI5 Web Components React | React wrappers | 2.22.0 | Apache-2.0 |
| React | UI runtime | 19.2.6 | MIT |
| React DOM | DOM renderer | 19.2.6 | MIT |
| Shiki | Syntax highlighting | 4.0.2 | MIT |
Provides boolean helper methods for testing strings and string tables.
Checks if a string is empty.
strresultMETHODS empty IMPORTING str TYPE string
RETURNING VALUE(result) TYPE abap_bool.Checks if a string is empty or consists only of whitespace characters.
strresultMETHODS whitespace_or_empty IMPORTING str TYPE string
RETURNING VALUE(result) TYPE abap_bool.Checks if all strings in a table are empty or consist only of whitespace characters.
textsresultMETHODS whitespace_or_empty_tab IMPORTING texts TYPE string_table
RETURNING VALUE(result) TYPE abap_bool.