(image)
| 852 | * @category Assets |
| 853 | */ |
| 854 | export function getImage(image) { |
| 855 | // force as string and extract the base name |
| 856 | image = getBasename("" + image); |
| 857 | if (image in imgList) { |
| 858 | // return the corresponding Image object |
| 859 | return imgList[image]; |
| 860 | } |
| 861 | return null; |
| 862 | } |
| 863 | |
| 864 | /** |
| 865 | * return the specified JSON Object |
no test coverage detected