Version 7 was just released! The docs will be moved here soon. Visit the external v7 docs site

getResourceById

A method that retrieves a specific Resource Object in memory.

.getResourceById( resourceId )

If no resource matches the given resourceId, will return null.