Garry's Mod Wiki

util.IsBinaryModuleInstalled

  boolean util.IsBinaryModuleInstalled( string name )

Just Added

This was just added in the latest version (2022.08.12). It might only be available on the Dev Branch right now.

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.