Class CodingConvention.AssertionFunctionSpec

java.lang.Object
com.google.javascript.jscomp.CodingConvention.AssertionFunctionSpec
Enclosing interface:
CodingConvention

@Immutable public abstract static class CodingConvention.AssertionFunctionSpec extends Object
A description of a JavaScript function that will throw an exception when either:
  • One of its parameters does not match the return type of the function
  • One of its parameters is falsy. This has some special handling for expressions that the match-return-type handling does not have.