func _is_unique(ptr: RawPtr) 'alloc -> BoolWhether this allocation has exactly one owner (refcount 1). Static data is never unique: it cannot be freed, so callers must copy before writing.
View Source
pub func _is_unique(ptr: RawPtr) 'alloc -> Bool {
#_ir(ptr) { %? = is_unique $0 }
}