Written by

Senior Cloud Architect at InterSystems
Question Eduard Lebedyuk · Feb 5, 2018

How to check if the class is mapped

Currently to check if the class  is mapped I call:

ClassMethod IsClassMapped(class) As %Boolean

{
  set sc = $system.OBJ.GetClassList(.classes,"/system=0 /percent=0 /mapped=0")
  quit $data(classes(class))
}

And it works, but I'm interested if there is a simpler approach out there?

Comments

Eduard Lebedyuk  Feb 5, 2018 to Dmitry Maslennikov

Thank you. I should have searched better.

0