Preparing search index...
The search index is not available
@wopjs/cast - v0.1.2
@wopjs/cast
toNonEmptyString
Function toNonEmptyString
Returns
x
if
x
is a string and not empty, otherwise returns
undefined
.
toNonEmptyString
(
x
:
unknown
)
:
undefined
|
string
Parameters
x
:
unknown
Returns
undefined
|
string
Settings
Theme
OS
Light
Dark
@wopjs/cast - v0.1.2
Loading...
Returns
x
ifx
is a string and not empty, otherwise returnsundefined
.