SemPtr SemPtr
SemPtr SemPtr
Documentation generated with DocFX
Using SingulinkFX as the template

Search Results for

    Method TryGetNonNull

    TryGetNonNull(out PointerUninitialized)

    Attempts to get a non-null pointer from the current pointer.

    Declaration
    public bool TryGetNonNull(out PointerUninitialized nonNullPointer)
    Parameters
    Type Name Description
    PointerUninitialized nonNullPointer

    A non-null pointer pointing to the same target as the current pointer, if the current pointer is non-null; otherwise, the default(PointerUninitialized).

    Returns
    Type Description
    bool

    true, if the current pointer is non-null; otherwise, false.

    Remarks

    Do not use the resulting nonNullPointer if this method returns false! Doing so might result in undefined behavior.

    © 2026 Felix Rüdiger. SemPtr and its documentation are licensed under the MIT license.