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

Search Results for

    Operator operator false

    operator false(NullableFunctionPointer)

    Determines whether the specified function pointer is null.

    Declaration
    public static bool operator false(NullableFunctionPointer pointer)
    Parameters
    Type Name Description
    NullableFunctionPointer pointer

    The function pointer to check if it is null.

    Returns
    Type Description
    bool

    true, if the specified function pointer is null; otherwise, false.

    Remarks

    This operator allows for the use of the function pointer in conditional statements, such as if (pointer) { } else { ... }, where the condition evaluates to false and the `else` branch is taken if the function pointer is null and true if it is non-null.

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