fn null
The null pointer.
Example:
use std.ffi { null }
fn main() io {
let p = null<u8>()
print("{p.isNull()}")
}Output
true
@intrinsic("ffi.null") pub(api) fn null<T>() -> *var TSince. 1.0.0-beta
Returns
*var T
Effects
none declared (pure unless the body says otherwise)
Defined in: std/ffi/ffi.oxl:204