- Processing
- p5.js
- Processing.py
- Processing for Android
- Processing for Pi

- Processing Foundation

This reference is for Processing 3.0+. If you have a previous version, use the reference included with your software in the Help menu. If you see any errors or have suggestions, please let us know. If you prefer a more technical reference, visit the Processing Core Javadoc and Libraries Javadoc.

Name | ### null
Examples |
    String content = "It is a beautiful day.";
    String[] results;  // Declare empty String array

    results = match(content, "orange");
    // The match statement above will fail to find
    // the word "orange" in the String 'content', so
    // it will return a null value to 'results'.

    if (results == null) {
      println("Value of 'results' is null.");  // This line is printed
    } else {
      println("Value of 'results' is not null!");  // This line is not printed
    }
Description | Special value used to signify the target is not a valid data element. In Processing, you may run across the keyword null when trying to access data which is not there.

Updated on July 4, 2018 11:56:48am EDT