Fuego wiki

Login or create account

function is empty

NAME [edit section]


SYNOPSIS [edit section]

is_empty <parameter>

DESCRIPTION [edit section]

Checks is it's argument is the empty string. If so, prints an error and exits.

This routine is used internally by several routines to check that their own parameters were non-empty.

EXAMPLES [edit section]

Here are some sample invocations:
      is_empty $1

ENVIRONMENT and ARGUMENTS [edit section]

  • $1 is

RETURN [edit section]

Returns if the parameter is non-empty. Exits otherwise.

SOURCE [edit section]

Located in scripts/

SEE ALSO [edit section]

TBWiki engine 1.8.2 by Tim Bird