o

com.celadari.jsonlogicscala.evaluate.defaults

OperatorOptionGetOrDefaultArray

object OperatorOptionGetOrDefaultArray extends UnaryOperator

Linear Supertypes
UnaryOperator, Operator, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OperatorOptionGetOrDefaultArray
  2. UnaryOperator
  3. Operator
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def unaryOperator(value: Any): Any

    Returns array value from Option.

    Returns array value from Option. Returns value itself if value is an Array. Returns empty array if provided None input value.

    returns

    array.

    Definition Classes
    OperatorOptionGetOrDefaultArrayUnaryOperator
    Note

    throws an com.celadari.jsonlogicscala.exceptions.IllegalInputException if input is neither an Option[Array[_] ] nor a Array[_] type.