# checkModule static method

void checkModule(

1. String? moduleName

)

Checks if a module is present in the previously loaded license.

param moduleName The module name. throws FaceException An error has occurred during Face Library execution.

## Implementation

    static void checkModule(String? moduleName) {
      Pointer<Char>? pModuleName = moduleName?.toNativeUtf8().cast<Char>();
      try {
        var err = faceSDK.id3FaceLicense_CheckModule(pModuleName ?? nullptr);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
      } finally {
        if (pModuleName != null) {
          calloc.free(pModuleName);
        }
      }
    }