ΒΆunsigned int clang_Cursor_isObjCOptional(
    CXCursor C)

Description

Given a cursor that represents an Objective-C method or property declaration, return non-zero if the declaration was affected by "\@optional". Returns zero if the cursor is not such a declaration or it is "\@required".

Declared at: clang/include/clang-c/Index.h:4683

Parameters

CXCursor C