Skip to content

Part_type_exists

hpgDesigns edited this page Aug 8, 2021 · 1 revision

Description

Gets whether or not the given particle type exists and returns the result.

Parameters

Parameter Data Type Description
ind integer index of the particle type

Return Values

boolean: Returns whether the particle type exists.

Example Call

// demonstrates checking if a particle type exists
if (part_type_exists(type)) {
  // type does exist
} else {
  // type does not exist
}

NOTOC

This is number 1

Clone this wiki locally