UNPKG

@servable/tools

Version:

Servable tools is a utility that builds a protocol's manifest and documents it.

13 lines (10 loc) 246 B
export default ({ className, instances, path }) => { for (var i in instances) { const instance = instances[i] if ((instance.className === className) && (instance.path === path)) { return instance } } return null }