Package jason.stdlib

Class namespace

All Implemented Interfaces:
InternalAction, Serializable

public class namespace extends DefaultInternalAction

Internal action: .namespace.

Description: checks whether the argument is a namespace.

Parameter:

  • + arg[0] (any term): the term to be checked.

Examples assuming that the BB contains the following beliefs a(10),family::brother(bob),b(f,1):

  • .namespace(family): true.
  • .namespace(any_other): false.
See Also: