probeOrNull

inline fun <T> probeOrNull(block: () -> T): T?

Runs block, returning its result or null if it throws.

ponytail: null = probe failed or unavailable; callers skip via addOptional.

Return

The probe result, or null on failure.

Parameters

block

Probe lambda that may fail or be unsupported.