logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_HasProperty - Return whether a property exists in a group of properties.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

props  the properties to query.

       name   the name of the property to query.

Name

       SDL_HasProperty - Return whether a property exists in a group of properties.

Return Value

       Returns true if the property exists, or false if it doesn't.

See Also

SDL_GetPropertyType(3)

Simple Directmedia Layer                           SDL 3.2.20                                 SDL_HasProperty(3)

Synopsis

#include<SDL3/SDL_properties.h>boolSDL_HasProperty(SDL_PropertiesIDprops,constchar*name);

Thread Safety

       It is safe to call this function from any thread.

See Also