Method: Fable::NativeFunctionOperations#has_not

Defined in:
lib/fable/native_function_operations.rb

#has_not(x, y) ⇒ Object



111
112
113
114
115
116
117
118
119
# File 'lib/fable/native_function_operations.rb', line 111

def has_not(x,y)
  has_return = has(x,y)
  # Need to invert values
  if has_return == 0
    return 1
  else
    return 0
  end
end