isNullPtr static method

bool isNullPtr(
  1. PlatformPointer ptr
)

The code is used only internally and is not a public API. The comment exists mainly to satisfy the linter.

Implementation

static bool isNullPtr(PlatformPointer ptr) => ptr == 0;