Background_exists - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Notation

Description

Checks if the background with the given index exists or not and returns the result.

Parameters

  • ind: index of the background

Return Values

boolean: Returns (true or false) whether or not the background with the index exists or not.

Example Call

// determines whether or not a background exists
if(background_exists(mybg)) {
  // background exists
} else {
  // background does not exist
}

NOTOC