powered by
Is valid entity ID
is_valid_entity_id(entity_id = NULL, type = NULL)
TRUE if the entity ID is valid, FALSE otherwise
The entity ID
The type of the entity ID. Default is 'project' (will just change the halt error message)
if (FALSE) { is_valid_entity_id("123456", "project") }
Run the code above in your browser using DataLab