pub fn is_null(val: &ValueRef) -> boolExpand description
Determine whether a value instance is null.
§Details
Checks if the value is a constant ‘null’ value.
This function wraps the LLVMIsNull function from the LLVM core library. It determines whether
the value represented by ValueRef is a constant ‘null’ value. This is typically used to check if a pointer
or other nullable type is explicitly set to null within the LLVM IR.
§Returns
Returns true if the value is a constant null value, otherwise returns false.