Garry's Mod Wiki

util.IsBinaryModuleInstalled

  boolean util.IsBinaryModuleInstalled( string name )

Description

Returns whether a binary module is installed and is resolvable by require.

Arguments

1 string name
Name of the binary module, exactly the same as you would enter it as the argument to require.

Returns

1 boolean
Whether the binary module is installed and require can resolve it.