May 9th — v7.0.0-rc.3
Version 7 will be released soon. Read the v7 docs

getResourceById

A method that retrieves a specific Resource Object in memory.

.getResourceById( resourceId )

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