LibraryExists Function

Returns whether a library exists. This function should be considered expensive; it should only be called on plugin to determine availability of resources. Use OnLibraryAdded()/OnLibraryRemoved() to detect changes in libraries.

bool LibraryExists(const char[] name)


const char[] name

Library name of a plugin or extension.

Return Value

True if exists, false otherwise.