Function SDL_HasProperty

pub unsafe extern "C" fn SDL_HasProperty(
    props: u32,
    name: *const i8,
) -> bool
Available on crate feature dep_sdl3 only.
Expand description

Return whether a property exists in a group of properties.

§Parameters

  • props: the properties to query.
  • name: the name of the property to query.

§Return value

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

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.

§See also