-
Notifications
You must be signed in to change notification settings - Fork 0
Part_type_exists
hpgDesigns edited this page Aug 8, 2021
·
1 revision
Gets whether or not the given particle type exists and returns the result.
| Parameter | Data Type | Description |
|---|---|---|
| ind | integer | index of the particle type |
boolean: Returns whether the particle type exists.
// 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