missing

Return a missing value.

📝 Syntax

  • m = missing()

📤 Output argument

  • m - a missing value for use in arrays and tables

📄 Description

missing returns a special value to represent missing (undefined data). When assigned into an array or table, the missing value is automatically converted into the standard missing value used by the array’s data type.

💡 Example


A = missing()
A = double([1, 2, missing()])
B = string(["foo", missing()])
C = struct("Name", "Alice", "Age", missing())

🔗 See also

ismissing, missing, NaN, string.

🕔 History

Version
📄 Description

1.15.0

initial version

Last updated

Was this helpful?