Method: OpenHAB::Core::Items::Semantics#semantic?

Defined in:
lib/openhab/core/items/semantics.rb

#semantic?true, false

Checks if this Item has any semantic tags

Returns:

  • (true, false)


466
467
468
# File 'lib/openhab/core/items/semantics.rb', line 466

def semantic?
  !!semantic_type
end