Packages

o

value.spec

JsNumberSpecs

object JsNumberSpecs

Factory of specs to define values as numbers

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsNumberSpecs
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def decimal(nullable: Boolean = false, required: Boolean = true): JsSpec

    returns a spec to specify that a value is a decimal number

    returns a spec to specify that a value is a decimal number

    nullable

    if true, null is allowed

    required

    if true, the value is mandatory

    returns

    a spec

  7. val decimal: JsSpec

    spec to specify that a value is a decimal number

  8. def decimalSuchThat(p: (BigDecimal) => Result, nullable: Boolean = false, required: Boolean = true): JsSpec

    returns a spec to specify that a value is a decimal number that satisfies a predicate

    returns a spec to specify that a value is a decimal number that satisfies a predicate

    p

    the predicate the decimal number has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    returns

    a spec

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def int(nullable: Boolean = false, required: Boolean = true): JsSpec

    returns a spec to specify that a value is an integer number (32 bits precision)

    returns a spec to specify that a value is an integer number (32 bits precision)

    nullable

    if true, null is allowed

    required

    if true, the value is mandatory

    returns

    a spec

  15. val int: JsSpec

    spec to specify that a value is an integer number (32 bits precision)

  16. def intSuchThat(p: (Int) => Result, nullable: Boolean = false, required: Boolean = true): JsSpec

    returns a spec to specify that a value is an integer number (32 bits precision) that satisfies a predicate

    returns a spec to specify that a value is an integer number (32 bits precision) that satisfies a predicate

    p

    the predicate the number has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    returns

    a spec

  17. def integral(nullable: Boolean = false, required: Boolean = true): JsSpec

    returns a spec to specify that a value is an integral number

    returns a spec to specify that a value is an integral number

    nullable

    if true, null is allowed

    required

    if true, the value is mandatory

    returns

    a spec

  18. val integral: JsSpec

    spec to specify that a value is an integral number

  19. def integralSuchThat(p: (BigInt) => Result, nullable: Boolean = false, required: Boolean = true): JsSpec

    returns a spec to specify that a value is an integral number that satisfies a predicate

    returns a spec to specify that a value is an integral number that satisfies a predicate

    p

    the predicate the integral number has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    returns

    a spec

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def long(nullable: Boolean = false, required: Boolean = true): IsLong

    returns a spec to specify that a value is a long number (64 bits precision)

    returns a spec to specify that a value is a long number (64 bits precision)

    nullable

    if true, null is allowed

    required

    if true, the value is mandatory

    returns

    a spec

  22. val long: JsSpec

    spec to specify that a value is a long number (64 bits precision)

  23. def longSuchThat(p: (Long) => Result, nullable: Boolean = false, required: Boolean = true): JsSpec

    returns a spec to specify that a value is a long number (64 bits precision) that satisfies a predicate

    returns a spec to specify that a value is a long number (64 bits precision) that satisfies a predicate

    p

    the predicate the number has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    returns

    a spec

  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def number(nullable: Boolean = false, required: Boolean = true): JsSpec

    returns a spec to specify that a value is a number

    returns a spec to specify that a value is a number

    nullable

    if true, null is allowed

    required

    if true, the value is mandatory

    returns

    a spec

  28. val number: JsSpec

    spec to specify that a value is a number

  29. def numberSuchThat(p: (JsNumber) => Result, nullable: Boolean = false, required: Boolean = true): JsSpec

    returns a spec to specify that a value is a number that satisfies a predicate

    returns a spec to specify that a value is a number that satisfies a predicate

    p

    the predicate the number has to be evaluated to true

    nullable

    if true, null is allowed and the predicate is not evaluated

    required

    if true, the value is mandatory

    returns

    a spec

  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped