ecs_poly_is_

Function ecs_poly_is_ 

Source
pub unsafe extern "C" fn ecs_poly_is_(
    object: *const ecs_poly_t,
    type_: i32,
) -> bool
Expand description

Test if pointer is of specified type. Usage: ecs_poly_is(ptr, ecs_world_t)

This operation only works for poly types.

@param object The object to test. @param type The id of the type. @return True if the pointer is of the specified type.