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

Search Results for

    Operator operator false

    operator false(FunctionPointer<TDelegate>)

    Determines whether the specified function pointer is null.

    Declaration
    public static bool operator false(FunctionPointer<TDelegate> pointer)
    Parameters
    Type Name Description
    FunctionPointer<TDelegate> 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.