Find an Entity given its name and parent.

synFindEntityId(name, parent=NULL)

Arguments

name

name of the entity to find

parent

An Entity object or the Id of an entity as a string. Omit if searching for a Project by name

Value

the Entity ID or NULL if not found

Examples

if (FALSE) {
synFindEntityId("my_test_file.txt", parent = "syn123")
}