11.2.4.2 Predicates on instances of mbfl_default_class

Function: mbfl_default_class_p DEFOBJ

Return true if DEFOBJ is an instance of mbfl_default_class or of a subclass of mbfl_default_class; otherwise return false.

mbfl_default_class_p _(mbfl_default_class)  ⇒ true
mbfl_default_class_p _(mbfl_default_object) ⇒ true

mbfl_default_class_declare(COLOUR)
mbfl_default_class_define _(COLOUR) _(mbfl_default_object) 'colour' r g b
mbfl_default_class_p _(COLOUR) ⇒ true
Function: mbfl_default_metaclass_p DEFOBJ

Return true if DEFOBJ is an object that meets the following criteria:

  1. the class of DEFOBJ is mbfl_default_class or a subclass of mbfl_default_class;
  2. DEFOBJ itself must be a subclass of mbfl_default_class.
mbfl_default_metaclass_p _(mbfl_default_object) ⇒ false
mbfl_default_metaclass_p _(mbfl_default_class)  ⇒ true

This document describes version 3.0.0-devel.9 of Marcos Bash Functions Library.