manifold-lang / manifold-frontend

Frontend compiler for Manifold high-level language
GNU General Public License v3.0
6 stars 6 forks source link

Create a value.isOfType method #4

Open mtrberzi opened 10 years ago

mtrberzi commented 10 years ago

Issue by lucaswoj Sunday Nov 17, 2013 at 16:36 GMT Originally opened as https://github.com/manifold-lang/manifold/issues/40


The isOfType method will return true if a Value is an instance of a TypeValue

class Value {
  ...
  public boolean isOfType(TypeValue);
  ...
}