Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Test whether a structure can be considered empty
Check if a list is empty:
In[1]:= | ![]() |
Out[1]= | ![]() |
In[2]:= | ![]() |
Out[2]= | ![]() |
Check if an association is empty:
In[3]:= | ![]() |
Out[3]= | ![]() |
If any values exist, it is not empty:
In[4]:= | ![]() |
Out[4]= | ![]() |
Any characters, including whitespace, make a string not empty:
In[5]:= | ![]() |
Out[5]= | ![]() |
A graph with no vertices is empty:
In[6]:= | ![]() |
Out[6]= | ![]() |
In[7]:= | ![]() |
Out[7]= | ![]() |
An empty sparse array:
In[8]:= | ![]() |
Out[8]= | ![]() |
New databins are empty:
In[9]:= | ![]() |
Out[9]= | ![]() |
In[10]:= | ![]() |
Out[11]= | ![]() |
Use File to check if files or directories are empty:
In[12]:= | ![]() |
Out[12]= | ![]() |
In[13]:= | ![]() |
Out[13]= | ![]() |
Check if a CloudObject is empty:
In[14]:= | ![]() |
Out[14]= | ![]() |
In[15]:= | ![]() |
Out[15]= | ![]() |
Graphics can be empty:
In[16]:= | ![]() |
Out[16]= | ![]() |
Files and cloud objects must exist to be considered empty:
In[17]:= | ![]() |
Out[17]= | ![]() |
In[18]:= | ![]() |
Out[18]= | ![]() |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License