Berserk Docs
Scalar FunctionsType Functions

isnotempty

Returns true if the argument is not an empty string and is not null.

Syntax

isnotempty(value)

Parameters

Prop

Type

Returns: bool

Examples

Example 1

print isnotempty('Odin')
print_0 (bool)
true

Example 2

print isnotempty('')
print_0 (bool)
false

On this page