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

Search Results for

    Method TryGetNonNull

    TryGetNonNull(out Pointer<T>)

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

    Declaration
    public bool TryGetNonNull(out Pointer<T> nonNullPointer)
    Parameters
    Type Name Description
    Pointer<T> nonNullPointer

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

    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.