Class ClosureCodingConvention.AssertInstanceofSpec

java.lang.Object
com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
com.google.javascript.jscomp.ClosureCodingConvention.AssertInstanceofSpec
Enclosing class:
ClosureCodingConvention

public static class ClosureCodingConvention.AssertInstanceofSpec extends CodingConvention.AssertionFunctionSpec
A function that will throw an exception when if the value is not an instanceof a specific type.
  • Constructor Details

    • AssertInstanceofSpec

      public AssertInstanceofSpec(String functionName)
  • Method Details