patchModule Manager Facilityshow-defined-directoriespatch-loaded-pGoTo Top

patch-loaded-p   id module-name => boolean[Function]

Purpose
Determine if patch id to module has been loaded.

Package   :module-manager

Module   :module-manager

Arguments and values

id     An object
module-name     A keyword symbol naming a module
boolean     A generalized boolean

Returns
True if the patch has been loaded; nil otherwise.

Errors
Module module-name has not been defined.

See also
    continue-patch
    define-module
    describe-module
    describe-patches
    finish-patch
    get-patch-description
    parse-date
    patch
    start-patch

Examples
Check if patch 1 to module :my-app has been loaded:

  > (patch-loaded-p 1 ':my-app)
  t
  >

Check for non-existent patch 3:

  > (patch-loaded-p 3 ':my-app)
  nil
  >

Check for patch 1 in module :gbbopen-test (when that module has not been loaded):

  > (patch-loaded-p 1 ':gbbopen-test)
  nil
  >


The GBBopen Project


patchModule Manager Facilityshow-defined-directoriespatch-loaded-pGoTo Top