module Popcorn::Cast
Defined in:
popcorn/cast.crpopcorn/cast/array.cr
popcorn/cast/bool.cr
popcorn/cast/float.cr
popcorn/cast/hash.cr
popcorn/cast/int.cr
popcorn/cast/json_any.cr
popcorn/cast/named_tuple.cr
popcorn/cast/nil.cr
popcorn/cast/string.cr
popcorn/cast/symbol.cr
popcorn/cast/time.cr
popcorn/cast/yaml_any.cr
Instance Method Summary
- 
        #cast(raw, other)
        
          
Returns the target value represented by given data type.
 - 
        #cast?(raw, other)
        
          
Returns the target value or
Nilrepresented by given data type. - 
        #cast_error!(source : String, other : String)
        
          
Raise a
TypeCastErrorexception. - 
        #to_array(raw : Array, value_type : T.class = String) forall T
        
          
Returns the
Arrayvalue represented by givenArraytype, else raise aTypeCastErrorexception. - 
        #to_array(raw : Bool, value_type : T.class = String) forall T
        
          
Returns the
Arrayvalue represented by givenBooltype, else raise aTypeCastErrorexception. - 
        #to_array(raw : Float, value_type : T.class = String) forall T
        
          
Returns the
Arrayvalue represented by givenFloattype, else raise aTypeCastErrorexception. - 
        #to_array(raw : Hash, value_type : T.class = String) forall T
        
          
Returns the
Arrayvalue represented by givenHashtype, else raise aTypeCastErrorexception. - 
        #to_array(raw : Int, value_type : T.class = String) forall T
        
          
Returns the
Arrayvalue represented by givenInttype, else raise aTypeCastErrorexception. - 
        #to_array(raw : JSON::Any, value_type : T.class = String) forall T
        
          
Returns the
Arrayvalue represented by givenJSON::Anytype, else raise aTypeCastErrorexception. - 
        #to_array(raw : NamedTuple, value_type : T.class = String) forall T
        
          
Returns the
Arrayvalue represented by givenNamedTupletype, else raise aTypeCastErrorexception. - 
        #to_array(raw : Time, value_type : T.class = String) forall T
        
          
Returns the
Arrayvalue represented by givenTimetype, else raise aTypeCastErrorexception. - 
        #to_array(raw : String, value_type : T.class = String) forall T
        
          
Returns the
Arrayvalue represented by givenStringtype, else raise aTypeCastErrorexception. - 
        #to_array(raw : Symbol, value_type : T.class = String) forall T
        
          
Returns the
Arrayvalue represented by givenSymboltype, else raise aTypeCastErrorexception. - 
        #to_array(raw : YAML::Any, value_type : T.class = String) forall T
        
          
Returns the
Arrayvalue represented by givenYAML::Anytype, else raise aTypeCastErrorexception. - 
        #to_array?(raw : String, value_type : T.class = String) forall T
        
          
Returns the
ArrayorNilvalue represented by given String type. - 
        #to_array?(raw : YAML::Any, value_type : T.class = String) forall T
        
          
Returns the
ArrayorNilvalue represented by given YAML::Any type. - 
        #to_array?(raw : Symbol, value_type : T.class = String) forall T
        
          
Returns the
ArrayorNilvalue represented by given Symbol type. - 
        #to_array?(raw : Time, value_type : T.class = String) forall T
        
          
Returns the
ArrayorNilvalue represented by given Time type. - 
        #to_array?(raw : NamedTuple, value_type : T.class = String) forall T
        
          
Returns the
ArrayorNilvalue represented by given NamedTuple type. - 
        #to_array?(raw : JSON::Any, value_type : T.class = String) forall T
        
          
Returns the
ArrayorNilvalue represented by given JSON::Any type. - 
        #to_array?(raw : Int, value_type : T.class = String) forall T
        
          
Returns the
ArrayorNilvalue represented by given Int type. - 
        #to_array?(raw : Hash, value_type : T.class = String) forall T
        
          
Returns the
ArrayorNilvalue represented by given Hash type. - 
        #to_array?(raw : Float, value_type : T.class = String) forall T
        
          
Returns the
ArrayorNilvalue represented by given Float type. - 
        #to_array?(raw : Bool, value_type : T.class = String) forall T
        
          
Returns the
ArrayorNilvalue represented by given Bool type. - 
        #to_array?(raw : Array, value_type : T.class = String) forall T
        
          
Returns the
ArrayorNilvalue represented by given Array type. - 
        #to_bool(raw : Array)
        
          
Returns the
Boolvalue represented by givenArraytype, else raise aTypeCastErrorexception. - #to_bool(raw : Bool)
 - 
        #to_bool(raw : Float)
        
          
Returns the
Boolvalue represented by givenFloattype, else raise aTypeCastErrorexception. - 
        #to_bool(raw : Hash)
        
          
Returns the
Boolvalue represented by givenHashtype, else raise aTypeCastErrorexception. - 
        #to_bool(raw : Int)
        
          
Returns the
Boolvalue represented by givenInttype, else raise aTypeCastErrorexception. - #to_bool(raw : JSON::Any)
 - 
        #to_bool(raw : NamedTuple)
        
          
Returns the
Boolvalue represented by givenNamedTupletype, else raise aTypeCastErrorexception. - 
        #to_bool(raw : Nil)
        
          
Returns the
Boolvalue represented by givenNiltype, else raise aTypeCastErrorexception. - #to_bool(raw : String)
 - #to_bool(raw : Symbol)
 - #to_bool(raw : Time)
 - #to_bool(raw : YAML::Any)
 - 
        #to_bool?(raw : Time)
        
          
Returns the
Nilvalue represented by given Time type. - 
        #to_bool?(raw : Symbol)
        
          
Returns the
BoolorNilvalue represented by given Symbol type. - 
        #to_bool?(raw : String)
        
          
Returns the
BoolorNilvalue represented by given String type. - 
        #to_bool?(raw : Nil)
        
          
Returns the
Boolvalue represented by given Nil type. - 
        #to_bool?(raw : NamedTuple)
        
          
Returns the
BoolorNilvalue represented by given NamedTuple type. - 
        #to_bool?(raw : JSON::Any)
        
          
Returns the
BoolorNilvalue represented by given JSON::Any type. - 
        #to_bool?(raw : Int)
        
          
Returns the
BoolorNilvalue represented by given Int type. - 
        #to_bool?(raw : Hash)
        
          
Returns the
BoolorNilvalue represented by given data type. - 
        #to_bool?(raw : Float)
        
          
Returns the
BoolorNilvalue represented by given Float type. - 
        #to_bool?(raw : Bool)
        
          
Returns the
Boolvalue represented by given Bool type. - 
        #to_bool?(raw : Array)
        
          
Returns the
BoolorNilvalue represented by given Array type. - 
        #to_bool?(raw : YAML::Any)
        
          
Returns the
BoolorNilvalue represented by given YAML::Any type. - 
        #to_float(raw : String)
        
          
Returns the
Floatvalue represented by givenStringtype, else raise aTypeCastErrorexception. - 
        #to_float(raw : Nil)
        
          
Returns the
Floatvalue represented by givenNiltype, else raise aTypeCastErrorexception. - 
        #to_float(raw : NamedTuple)
        
          
Returns the
Floatvalue represented by givenNamedTupletype, else raise aTypeCastErrorexception. - 
        #to_float(raw : JSON::Any)
        
          
Returns the
Floatvalue represented by givenJSON::Anytype, else raise aTypeCastErrorexception. - 
        #to_float(raw : Int)
        
          
Returns the
Floatvalue represented by givenInttype, else raise aTypeCastErrorexception. - 
        #to_float(raw : Hash)
        
          
Returns the
Floatvalue represented by givenHashtype, else raise aTypeCastErrorexception. - 
        #to_float(raw : Float)
        
          
Returns the
Floatvalue represented by givenFloattype, else raise aTypeCastErrorexception. - 
        #to_float(raw : Bool)
        
          
Returns the
Floatvalue represented by givenBooltype, else raise aTypeCastErrorexception. - 
        #to_float(raw : Array)
        
          
Returns the
Floatvalue represented by givenArraytype, else raise aTypeCastErrorexception. - 
        #to_float(raw : Time)
        
          
Returns the
Floatvalue represented by givenTimetype, else raise aTypeCastErrorexception. - 
        #to_float(raw : YAML::Any)
        
          
Returns the
Floatvalue represented by givenYAML::Anytype, else raise aTypeCastErrorexception. - 
        #to_float(raw : Symbol)
        
          
Returns the
Floatvalue represented by givenSymboltype, else raise aTypeCastErrorexception. - 
        #to_float32(raw : Array)
        
          
Returns the
Float32value represented by givenArraytype, else raise aTypeCastErrorexception. - #to_float32(raw : Bool)
 - 
        #to_float32(raw : Float)
        
          
Returns the
Float32value represented by givenFloattype, else raise aTypeCastErrorexception. - 
        #to_float32(raw : Hash)
        
          
Returns the
Float32value represented by givenHashtype, else raise aTypeCastErrorexception. - 
        #to_float32(raw : Int)
        
          
Returns the
Float32value represented by givenInttype, else raise aTypeCastErrorexception. - #to_float32(raw : JSON::Any)
 - 
        #to_float32(raw : NamedTuple)
        
          
Returns the
Float32value represented by givenNamedTupletype, else raise aTypeCastErrorexception. - 
        #to_float32(raw : Nil)
        
          
Returns the
Float32value represented by givenNiltype, else raise aTypeCastErrorexception. - #to_float32(raw : Symbol)
 - #to_float32(raw : Time)
 - #to_float32(raw : YAML::Any)
 - #to_float32(raw : String)
 - 
        #to_float32?(raw : YAML::Any)
        
          
Returns the
Float32orNilvalue represented by given YAML::Any type. - 
        #to_float32?(raw : Time)
        
          
Returns the
Nilvalue represented by given Time type. - 
        #to_float32?(raw : Symbol)
        
          
Returns the
Nilvalue represented by given Symbol type. - 
        #to_float32?(raw : String)
        
          
Returns the
Float32orNilvalue represented by given String type. - 
        #to_float32?(raw : Nil)
        
          
Returns the
Float32orNilvalue represented by given Nil type. - 
        #to_float32?(raw : NamedTuple)
        
          
Returns the
Nilvalue represented by given NamedTuple type. - 
        #to_float32?(raw : JSON::Any)
        
          
Returns the
Float32orNilvalue represented by given JSON::Any type. - 
        #to_float32?(raw : Int)
        
          
Returns the
Float32orNilvalue represented by given Int type. - 
        #to_float32?(raw : Hash)
        
          
Returns the
Nilvalue represented by given Hash type. - 
        #to_float32?(raw : Float)
        
          
Returns the
Float32orNilvalue represented by given Float type. - 
        #to_float32?(raw : Bool)
        
          
Returns the
Nilvalue represented by given Bool type. - 
        #to_float32?(raw : Array)
        
          
Returns the
Float32orNilvalue represented by given Array type. - #to_float64(raw : Bool)
 - 
        #to_float64(raw : Float)
        
          
Returns the
Float64value represented by givenFloattype, else raise aTypeCastErrorexception. - 
        #to_float64(raw : Hash)
        
          
Returns the
Float64value represented by givenHashtype, else raise aTypeCastErrorexception. - 
        #to_float64(raw : Int)
        
          
Returns the
Float64value represented by givenInttype, else raise aTypeCastErrorexception. - #to_float64(raw : JSON::Any)
 - 
        #to_float64(raw : NamedTuple)
        
          
Returns the
Float64value represented by givenNamedTupletype, else raise aTypeCastErrorexception. - 
        #to_float64(raw : Nil)
        
          
Returns the
Float64value represented by givenNiltype, else raise aTypeCastErrorexception. - #to_float64(raw : String)
 - #to_float64(raw : Symbol)
 - #to_float64(raw : Time)
 - #to_float64(raw : YAML::Any)
 - 
        #to_float64(raw : Array)
        
          
Returns the
Float64value represented by givenArraytype, else raise aTypeCastErrorexception. - 
        #to_float64?(raw : Nil)
        
          
Alias to
#to_float64? - 
        #to_float64?(raw : YAML::Any)
        
          
Returns the
Float64orNilvalue represented by given YAML::Any type. - 
        #to_float64?(raw : NamedTuple)
        
          
Returns the
Nilvalue represented by given NamedTuple type. - 
        #to_float64?(raw : JSON::Any)
        
          
Alias to
#to_float64? - 
        #to_float64?(raw : Int)
        
          
Alias to
#to_float64? - 
        #to_float64?(raw : Hash)
        
          
Returns the
Nilvalue represented by given Hash type. - 
        #to_float64?(raw : Float)
        
          
Alias to
#to_float64? - 
        #to_float64?(raw : Bool)
        
          
Alias to
#to_float64? - 
        #to_float64?(raw : Array)
        
          
Returns the
Float64orNilvalue represented by given Array type. - 
        #to_float64?(raw : String)
        
          
Alias to
#to_float64? - 
        #to_float64?(raw : Symbol)
        
          
Alias to
#to_float64? - 
        #to_float64?(raw : Time)
        
          
Alias to
#to_float64? - 
        #to_float?(raw : YAML::Any)
        
          
Alias to
#to_float64? - 
        #to_float?(raw : Time)
        
          
Returns the
Float64orNilvalue represented by given Time type. - 
        #to_float?(raw : Symbol)
        
          
Returns the
Nilvalue represented by given Symbol type. - 
        #to_float?(raw : String)
        
          
Returns the
Float64orNilvalue represented by given String type. - 
        #to_float?(raw : Nil)
        
          
Returns the
Float64orNilvalue represented by given Nil type. - 
        #to_float?(raw : NamedTuple)
        
          
Alias to
#to_float64? - 
        #to_float?(raw : JSON::Any)
        
          
Returns the
Float64orNilvalue represented by given JSON::Any type. - 
        #to_float?(raw : Int)
        
          
Returns the
Float64orNilvalue represented by given Int type. - 
        #to_float?(raw : Hash)
        
          
Alias to
#to_float64? - 
        #to_float?(raw : Float)
        
          
Returns the
Float64orNilvalue represented by given Float type. - 
        #to_float?(raw : Bool)
        
          
Returns the
Float64orNilvalue represented by given Bool type. - 
        #to_float?(raw : Array)
        
          
Alias to
#to_float64? - 
        #to_hash(raw : Symbol, value_type : T.class = String) forall T
        
          
Returns the
Hashvalue represented by givenSymboltype, else raise aTypeCastErrorexception. - 
        #to_hash(raw : Bool, value_type : T.class = String) forall T
        
          
Returns the
Hashvalue represented by givenBooltype, else raise aTypeCastErrorexception. - 
        #to_hash(raw : Float, value_type : T.class = String) forall T
        
          
Returns the
Hashvalue represented by givenFloattype, else raise aTypeCastErrorexception. - 
        #to_hash(raw : Hash, value_type : T.class = String) forall T
        
          
Returns the
Hashvalue represented by givenHashtype, else raise aTypeCastErrorexception. - 
        #to_hash(raw : Int, value_type : T.class = String) forall T
        
          
Returns the
Hashvalue represented by givenInttype, else raise aTypeCastErrorexception. - 
        #to_hash(raw : JSON::Any, value_type : T.class = String) forall T
        
          
Returns the
Hashvalue represented by givenJSON::Anytype, else raise aTypeCastErrorexception. - 
        #to_hash(raw : YAML::Any, value_type : T.class = String) forall T
        
          
Returns the
Hashvalue represented by givenYAML::Anytype, else raise aTypeCastErrorexception. - 
        #to_hash(raw : NamedTuple, value_type : T.class = String) forall T
        
          
Returns the
Hashvalue represented by givenNamedTupletype, else raise aTypeCastErrorexception. - 
        #to_hash(raw : Time, value_type : T.class = String) forall T
        
          
Returns the
Hashvalue represented by givenTimetype, else raise aTypeCastErrorexception. - 
        #to_hash(raw : String, value_type : T.class = String) forall T
        
          
Returns the
Hashvalue represented by givenStringtype, else raise aTypeCastErrorexception. - 
        #to_hash(raw : Array, value_type : T.class = String) forall T
        
          
Returns the
Hashvalue represented by givenArraytype, else raise aTypeCastErrorexception. - 
        #to_hash?(raw : YAML::Any, value_type : T.class = String) forall T
        
          
Returns the
HashorNilvalue represented by given YAML::Any type. - 
        #to_hash?(raw : Symbol, value_type : T.class = String) forall T
        
          
Returns the
HashorNilvalue represented by given Symbol type. - 
        #to_hash?(raw : String, value_type : T.class = String) forall T
        
          
Returns the
HashorNilvalue represented by given String type. - 
        #to_hash?(raw : Time, value_type : T.class = String) forall T
        
          
Returns the
HashorNilvalue represented by given Time type. - 
        #to_hash?(raw : NamedTuple, value_type : T.class = String) forall T
        
          
Returns the
HashorNilvalue represented by given NamedTuple type. - 
        #to_hash?(raw : JSON::Any, value_type : T.class = String) forall T
        
          
Returns the
HashorNilvalue represented by given JSON::Any type. - 
        #to_hash?(raw : Int, value_type : T.class = String) forall T
        
          
Returns the
HashorNilvalue represented by given Int type. - 
        #to_hash?(raw : Hash, value_type : T.class = String) forall T
        
          
Returns the
HashorNilvalue represented by given Hash type. - 
        #to_hash?(raw : Float, value_type : T.class = String) forall T
        
          
Returns the
HashorNilvalue represented by given Float type. - 
        #to_hash?(raw : Bool, value_type : T.class = String) forall T
        
          
Returns the
HashorNilvalue represented by given Bool type. - 
        #to_hash?(raw : Array, value_type : T.class = String) forall T
        
          
Returns the
HashorNilvalue represented by given Array type. - 
        #to_int(raw : YAML::Any)
        
          
Returns the
Intvalue represented by givenYAML::Anytype, else raise aTypeCastErrorexception. - 
        #to_int(raw : Time)
        
          
Returns the
Intvalue represented by givenTimetype, else raise aTypeCastErrorexception. - 
        #to_int(raw : Symbol)
        
          
Returns the
Intvalue represented by givenSymboltype, else raise aTypeCastErrorexception. - 
        #to_int(raw : String)
        
          
Returns the
Intvalue represented by givenStringtype, else raise aTypeCastErrorexception. - 
        #to_int(raw : Nil)
        
          
Returns the
Intvalue represented by givenNiltype, else raise aTypeCastErrorexception. - 
        #to_int(raw : NamedTuple)
        
          
Returns the
Intvalue represented by givenNamedTupletype, else raise aTypeCastErrorexception. - 
        #to_int(raw : JSON::Any)
        
          
Returns the
Intvalue represented by givenJSON::Anytype, else raise aTypeCastErrorexception. - 
        #to_int(raw : Hash)
        
          
Returns the
Intvalue represented by givenHashtype, else raise aTypeCastErrorexception. - 
        #to_int(raw : Float)
        
          
Returns the
Intvalue represented by givenFloattype, else raise aTypeCastErrorexception. - 
        #to_int(raw : Bool)
        
          
Returns the
Intvalue represented by givenBooltype, else raise aTypeCastErrorexception. - 
        #to_int(raw : Array)
        
          
Returns the
Intvalue represented by givenArraytype, else raise aTypeCastErrorexception. - 
        #to_int(raw : Int)
        
          
Returns the
Intvalue represented by givenInttype, else raise aTypeCastErrorexception. - #to_int16(raw : String)
 - 
        #to_int16(raw : Array)
        
          
Returns the
Int16value represented by givenArraytype, else raise aTypeCastErrorexception. - #to_int16(raw : Bool)
 - 
        #to_int16(raw : Float)
        
          
Returns the
Int16value represented by givenFloattype, else raise aTypeCastErrorexception. - 
        #to_int16(raw : Hash)
        
          
Returns the
Int16value represented by givenHashtype, else raise aTypeCastErrorexception. - 
        #to_int16(raw : Int)
        
          
Returns the
Int16value represented by givenInttype, else raise aTypeCastErrorexception. - #to_int16(raw : JSON::Any)
 - 
        #to_int16(raw : NamedTuple)
        
          
Returns the
Int16value represented by givenNamedTupletype, else raise aTypeCastErrorexception. - 
        #to_int16(raw : Nil)
        
          
Returns the
Int16value represented by givenNiltype, else raise aTypeCastErrorexception. - #to_int16(raw : Symbol)
 - #to_int16(raw : YAML::Any)
 - #to_int16(raw : Time)
 - 
        #to_int16?(raw : Int)
        
          
Returns the
Int16orNilvalue represented by given Int type. - 
        #to_int16?(raw : Hash)
        
          
Returns the
Nilvalue represented by given Hash type. - 
        #to_int16?(raw : Array)
        
          
Returns the
Int16orNilvalue represented by given Array type. - 
        #to_int16?(raw : Float)
        
          
Returns the
Int16orNilvalue represented by given Float type. - 
        #to_int16?(raw : Bool)
        
          
Returns the
Int16orNilvalue represented by given Bool type. - 
        #to_int16?(raw : JSON::Any)
        
          
Returns the
Int16orNilvalue represented by given JSON::Any type. - 
        #to_int16?(raw : NamedTuple)
        
          
Returns the
Nilvalue represented by given NamedTuple type. - 
        #to_int16?(raw : Nil)
        
          
Returns the
Int16orNilvalue represented by given Nil type. - 
        #to_int16?(raw : String)
        
          
Returns the
Int16orNilvalue represented by given String type. - 
        #to_int16?(raw : Symbol)
        
          
Returns the
Nilvalue represented by given Symbol type. - 
        #to_int16?(raw : Time)
        
          
Returns the
Nilvalue represented by given Time type. - 
        #to_int16?(raw : YAML::Any)
        
          
Returns the
Int16orNilvalue represented by given YAML::Any type. - #to_int32(raw : YAML::Any)
 - #to_int32(raw : Time)
 - #to_int32(raw : Symbol)
 - #to_int32(raw : String)
 - 
        #to_int32(raw : Nil)
        
          
Returns the
Int32value represented by givenNiltype, else raise aTypeCastErrorexception. - 
        #to_int32(raw : NamedTuple)
        
          
Returns the
Int32value represented by givenNamedTupletype, else raise aTypeCastErrorexception. - #to_int32(raw : JSON::Any)
 - 
        #to_int32(raw : Int)
        
          
Returns the
Int32value represented by givenInttype, else raise aTypeCastErrorexception. - 
        #to_int32(raw : Hash)
        
          
Returns the
Int32value represented by givenHashtype, else raise aTypeCastErrorexception. - 
        #to_int32(raw : Float)
        
          
Returns the
Int32value represented by givenFloattype, else raise aTypeCastErrorexception. - #to_int32(raw : Bool)
 - 
        #to_int32(raw : Array)
        
          
Returns the
Int32value represented by givenArraytype, else raise aTypeCastErrorexception. - 
        #to_int32?(raw : YAML::Any)
        
          
Returns the
Int32orNilvalue represented by given YAML::Any type. - 
        #to_int32?(raw : Array)
        
          
Returns the
Int32orNilvalue represented by given Array type. - 
        #to_int32?(raw : Bool)
        
          
Returns the
Int32orNilvalue represented by given Bool type. - 
        #to_int32?(raw : Float)
        
          
Returns the
Int32orNilvalue represented by given Float type. - 
        #to_int32?(raw : Hash)
        
          
Returns the
Nilvalue represented by given Hash type. - 
        #to_int32?(raw : Int)
        
          
Returns the
Int32orNilvalue represented by given Int type. - 
        #to_int32?(raw : JSON::Any)
        
          
Returns the
Int32orNilvalue represented by given JSON::Any type. - 
        #to_int32?(raw : NamedTuple)
        
          
Returns the
Nilvalue represented by given NamedTuple type. - 
        #to_int32?(raw : Nil)
        
          
Returns the
Int32orNilvalue represented by given Nil type. - 
        #to_int32?(raw : Time)
        
          
Returns the
Nilvalue represented by given Time type. - 
        #to_int32?(raw : String)
        
          
Returns the
Int32orNilvalue represented by given String type. - 
        #to_int32?(raw : Symbol)
        
          
Returns the
Nilvalue represented by given Symbol type. - #to_int64(raw : YAML::Any)
 - #to_int64(raw : Time)
 - 
        #to_int64(raw : Array)
        
          
Returns the
Int64value represented by givenArraytype, else raise aTypeCastErrorexception. - #to_int64(raw : Bool)
 - 
        #to_int64(raw : Float)
        
          
Returns the
Int64value represented by givenFloattype, else raise aTypeCastErrorexception. - 
        #to_int64(raw : Hash)
        
          
Returns the
Int64value represented by givenHashtype, else raise aTypeCastErrorexception. - 
        #to_int64(raw : Int)
        
          
Returns the
Int64value represented by givenInttype, else raise aTypeCastErrorexception. - #to_int64(raw : JSON::Any)
 - 
        #to_int64(raw : Nil)
        
          
Returns the
Int64value represented by givenNiltype, else raise aTypeCastErrorexception. - #to_int64(raw : String)
 - #to_int64(raw : Symbol)
 - 
        #to_int64(raw : NamedTuple)
        
          
Returns the
Int64value represented by givenNamedTupletype, else raise aTypeCastErrorexception. - 
        #to_int64?(raw : Int)
        
          
Returns the
Int64orNilvalue represented by given Int type. - 
        #to_int64?(raw : NamedTuple)
        
          
Returns the
Nilvalue represented by given NamedTuple type. - 
        #to_int64?(raw : JSON::Any)
        
          
Returns the
Int64orNilvalue represented by given JSON::Any type. - 
        #to_int64?(raw : String)
        
          
Returns the
Int64orNilvalue represented by given String type. - 
        #to_int64?(raw : Hash)
        
          
Returns the
Nilvalue represented by given Hash type. - 
        #to_int64?(raw : Float)
        
          
Returns the
Int64orNilvalue represented by given Float type. - 
        #to_int64?(raw : Bool)
        
          
Returns the
Int64orNilvalue represented by given Bool type. - 
        #to_int64?(raw : Array)
        
          
Returns the
Int64orNilvalue represented by given Array type. - 
        #to_int64?(raw : Symbol)
        
          
Returns the
Nilvalue represented by given Symbol type. - 
        #to_int64?(raw : Time)
        
          
Returns the
Int64orNilvalue represented by given Time type. - 
        #to_int64?(raw : Nil)
        
          
Returns the
Int64orNilvalue represented by given Nil type. - 
        #to_int64?(raw : YAML::Any)
        
          
Returns the
Int64orNilvalue represented by given YAML::Any type. - #to_int8(raw : Bool)
 - 
        #to_int8(raw : Float)
        
          
Returns the
Int8value represented by givenFloattype, else raise aTypeCastErrorexception. - 
        #to_int8(raw : Hash)
        
          
Returns the
Int8value represented by givenHashtype, else raise aTypeCastErrorexception. - 
        #to_int8(raw : Int)
        
          
Returns the
Int8value represented by givenInttype, else raise aTypeCastErrorexception. - #to_int8(raw : JSON::Any)
 - 
        #to_int8(raw : NamedTuple)
        
          
Returns the
Int8value represented by givenNamedTupletype, else raise aTypeCastErrorexception. - 
        #to_int8(raw : Nil)
        
          
Returns the
Int8value represented by givenNiltype, else raise aTypeCastErrorexception. - #to_int8(raw : String)
 - #to_int8(raw : Symbol)
 - 
        #to_int8(raw : Array)
        
          
Returns the
Int8value represented by givenArraytype, else raise aTypeCastErrorexception. - #to_int8(raw : Time)
 - #to_int8(raw : YAML::Any)
 - 
        #to_int8?(raw : Array)
        
          
Returns the
Int8orNilvalue represented by given Array type. - 
        #to_int8?(raw : Bool)
        
          
Returns the
Int8orNilvalue represented by given Bool type. - 
        #to_int8?(raw : Float)
        
          
Returns the
Int8orNilvalue represented by given Float type. - 
        #to_int8?(raw : Hash)
        
          
Returns the
Nilvalue represented by given Hash type. - 
        #to_int8?(raw : Int)
        
          
Returns the
Int8orNilvalue represented by given Int type. - 
        #to_int8?(raw : JSON::Any)
        
          
Returns the
Int8orNilvalue represented by given JSON::Any type. - 
        #to_int8?(raw : NamedTuple)
        
          
Returns the
Nilvalue represented by given NamedTuple type. - 
        #to_int8?(raw : Nil)
        
          
Returns the
Int8orNilvalue represented by given Nil type. - 
        #to_int8?(raw : String)
        
          
Returns the
Int8orNilvalue represented by given String type. - 
        #to_int8?(raw : Symbol)
        
          
Returns the
Nilvalue represented by given Symbol type. - 
        #to_int8?(raw : Time)
        
          
Returns the
Nilvalue represented by given Time type. - 
        #to_int8?(raw : YAML::Any)
        
          
Returns the
Int8orNilvalue represented by given YAML::Any type. - 
        #to_int?(raw : YAML::Any)
        
          
Alias to
#to_int32? - 
        #to_int?(raw : Array)
        
          
Alias to
#to_int32? - 
        #to_int?(raw : Bool)
        
          
Alias to
#to_int32? - 
        #to_int?(raw : Float)
        
          
Alias to
#to_int32? - 
        #to_int?(raw : Hash)
        
          
Alias to
#to_int32? - 
        #to_int?(raw : Int)
        
          
Alias to
#to_int32? - 
        #to_int?(raw : JSON::Any)
        
          
Alias to
#to_int32? - 
        #to_int?(raw : NamedTuple)
        
          
Alias to
#to_int32? - 
        #to_int?(raw : Nil)
        
          
Alias to
#to_int32? - 
        #to_int?(raw : String)
        
          
Alias to
#to_int32? - 
        #to_int?(raw : Symbol)
        
          
Alias to
#to_int32? - 
        #to_int?(raw : Time)
        
          
Alias to
#to_int32? - #to_string(raw : YAML::Any)
 - #to_string(raw : JSON::Any)
 - #to_string(raw : Symbol)
 - #to_string(raw : String)
 - #to_string(raw : Nil)
 - #to_string(raw : NamedTuple)
 - #to_string(raw : Time)
 - #to_string(raw : Int)
 - #to_string(raw : Hash)
 - #to_string(raw : Float)
 - #to_string(raw : Bool)
 - #to_string(raw : Array)
 - 
        #to_time(raw : Array, location : Time::Location? = nil, formatters : Array(String)? = nil)
        
          
Returns the
Timevalue represented by givenArraytype, else raise aTypeCastErrorexception. - #to_time(raw : Bool, location : Time::Location? = nil, formatters : Array(String)? = nil)
 - 
        #to_time(raw : Float, location : Time::Location? = nil, formatters : Array(String)? = nil)
        
          
Returns the
Timevalue represented by givenFloattype, else raise aTypeCastErrorexception. - 
        #to_time(raw : Hash, location : Time::Location? = nil, formatters : Array(String)? = nil)
        
          
Returns the
Timevalue represented by givenHashtype, else raise aTypeCastErrorexception. - 
        #to_time(raw : Int, location : Time::Location? = nil, formatters : Array(String)? = nil)
        
          
Returns the
Timevalue represented by givenInttype, else raise aTypeCastErrorexception. - #to_time(raw : JSON::Any, location : Time::Location? = nil, formatters : Array(String)? = nil)
 - 
        #to_time(raw : Nil, location : Time::Location? = nil, formatters : Array(String)? = nil)
        
          
Returns the
Timevalue represented by givenNiltype, else raise aTypeCastErrorexception. - #to_time(raw : String, location : Time::Location? = nil, formatters : Array(String)? = nil)
 - #to_time(raw : Symbol, location : Time::Location? = nil, formatters : Array(String)? = nil)
 - #to_time(raw : Time, location : Time::Location? = nil, formatters : Array(String)? = nil)
 - #to_time(raw : YAML::Any, location : Time::Location? = nil, formatters : Array(String)? = nil)
 - 
        #to_time?(raw : YAML::Any, location : Time::Location? = nil, formatters : Array(String)? = nil)
        
          
Returns the
TimeorNilvalue represented by given YAML::Any type. - 
        #to_time?(raw : Symbol, location : Time::Location? = nil, formatters : Array(String)? = nil)
        
          
Returns the
Nilvalue represented by given Symbol type. - 
        #to_time?(raw : String, location : Time::Location? = nil, formatters : Array(String)? = nil)
        
          
Returns the
TimeorNilvalue represented by given String type. - 
        #to_time?(raw : Nil, location : Time::Location? = nil, formatters : Array(String)? = nil)
        
          
Returns the
Nilvalue represented by given Nil type. - 
        #to_time?(raw : JSON::Any, location : Time::Location? = nil, formatters : Array(String)? = nil)
        
          
Returns the
TimeorNilvalue represented by given JSON::Any type. - 
        #to_time?(raw : Int, location : Time::Location? = nil, formatters : Array(String)? = nil)
        
          
Returns the
TimeorNilvalue represented by given Int type. - 
        #to_time?(raw : Hash, location : Time::Location? = nil, formatters : Array(String)? = nil)
        
          
Returns the
Nilvalue represented by given Hash type. - 
        #to_time?(raw : Float, location : Time::Location? = nil, formatters : Array(String)? = nil)
        
          
Returns the
Nilvalue represented by given Float type. - 
        #to_time?(raw : Bool, location : Time::Location? = nil, formatters : Array(String)? = nil)
        
          
Returns the
Nilvalue represented by given Bool type. - 
        #to_time?(raw : Array, location : Time::Location? = nil, formatters : Array(String)? = nil)
        
          
Returns the
Nilvalue represented by given NamedTuple type. - 
        #to_time?(raw : Time, location : Time::Location? = nil, formatters : Array(String)? = nil)
        
          
Returns the
TimeorNilvalue represented by given Time type. - 
        #to_uint(raw : Symbol)
        
          
Returns the
UIntvalue represented by givenSymboltype, else raise aTypeCastErrorexception. - 
        #to_uint(raw : Bool)
        
          
Returns the
UIntvalue represented by givenBooltype, else raise aTypeCastErrorexception. - 
        #to_uint(raw : Array)
        
          
Returns the
UIntvalue represented by givenArraytype, else raise aTypeCastErrorexception. - 
        #to_uint(raw : Float)
        
          
Returns the
UIntvalue represented by givenFloattype, else raise aTypeCastErrorexception. - 
        #to_uint(raw : Hash)
        
          
Returns the
UIntvalue represented by givenHashtype, else raise aTypeCastErrorexception. - 
        #to_uint(raw : Int)
        
          
Returns the
UIntvalue represented by givenInttype, else raise aTypeCastErrorexception. - 
        #to_uint(raw : JSON::Any)
        
          
Returns the
UIntvalue represented by givenJSON::Anytype, else raise aTypeCastErrorexception. - 
        #to_uint(raw : NamedTuple)
        
          
Returns the
UIntvalue represented by givenNamedTupletype, else raise aTypeCastErrorexception. - 
        #to_uint(raw : Nil)
        
          
Returns the
UIntvalue represented by givenNiltype, else raise aTypeCastErrorexception. - 
        #to_uint(raw : String)
        
          
Returns the
UIntvalue represented by givenStringtype, else raise aTypeCastErrorexception. - 
        #to_uint(raw : Time)
        
          
Returns the
UIntvalue represented by givenTimetype, else raise aTypeCastErrorexception. - 
        #to_uint(raw : YAML::Any)
        
          
Returns the
UIntvalue represented by givenYAML::Anytype, else raise aTypeCastErrorexception. - #to_uint16(raw : YAML::Any)
 - #to_uint16(raw : Time)
 - #to_uint16(raw : Symbol)
 - #to_uint16(raw : String)
 - 
        #to_uint16(raw : Nil)
        
          
Returns the
UInt16value represented by givenNiltype, else raise aTypeCastErrorexception. - 
        #to_uint16(raw : NamedTuple)
        
          
Returns the
UInt16value represented by givenNamedTupletype, else raise aTypeCastErrorexception. - #to_uint16(raw : JSON::Any)
 - 
        #to_uint16(raw : Int)
        
          
Returns the
UInt16value represented by givenInttype, else raise aTypeCastErrorexception. - 
        #to_uint16(raw : Hash)
        
          
Returns the
UInt16value represented by givenHashtype, else raise aTypeCastErrorexception. - 
        #to_uint16(raw : Float)
        
          
Returns the
UInt16value represented by givenFloattype, else raise aTypeCastErrorexception. - #to_uint16(raw : Bool)
 - 
        #to_uint16(raw : Array)
        
          
Returns the
UInt16value represented by givenArraytype, else raise aTypeCastErrorexception. - 
        #to_uint16?(raw : YAML::Any)
        
          
Returns the
UInt16orNilvalue represented by given YAML::Any type. - 
        #to_uint16?(raw : Time)
        
          
Returns the
Nilvalue represented by given Time type. - 
        #to_uint16?(raw : Symbol)
        
          
Returns the
Nilvalue represented by given Symbol type. - 
        #to_uint16?(raw : String)
        
          
Returns the
UInt16orNilvalue represented by given String type. - 
        #to_uint16?(raw : Nil)
        
          
Returns the
UInt16orNilvalue represented by given Nil type. - 
        #to_uint16?(raw : NamedTuple)
        
          
Returns the
Nilvalue represented by given NamedTuple type. - 
        #to_uint16?(raw : JSON::Any)
        
          
Returns the
UInt16orNilvalue represented by given JSON::Any type. - 
        #to_uint16?(raw : Int)
        
          
Returns the
UInt16orNilvalue represented by given Int type. - 
        #to_uint16?(raw : Hash)
        
          
Returns the
Nilvalue represented by given Hash type. - 
        #to_uint16?(raw : Float)
        
          
Returns the
UInt16orNilvalue represented by given Float type. - 
        #to_uint16?(raw : Bool)
        
          
Returns the
UInt16orNilvalue represented by given Bool type. - 
        #to_uint16?(raw : Array)
        
          
Returns the
UInt16orNilvalue represented by given Array type. - #to_uint32(raw : Symbol)
 - 
        #to_uint32(raw : Array)
        
          
Returns the
UInt32value represented by givenArraytype, else raise aTypeCastErrorexception. - #to_uint32(raw : Bool)
 - 
        #to_uint32(raw : Float)
        
          
Returns the
UInt32value represented by givenFloattype, else raise aTypeCastErrorexception. - 
        #to_uint32(raw : Hash)
        
          
Returns the
UInt32value represented by givenHashtype, else raise aTypeCastErrorexception. - 
        #to_uint32(raw : Int)
        
          
Returns the
UInt32value represented by givenInttype, else raise aTypeCastErrorexception. - #to_uint32(raw : JSON::Any)
 - 
        #to_uint32(raw : NamedTuple)
        
          
Returns the
UInt32value represented by givenNamedTupletype, else raise aTypeCastErrorexception. - 
        #to_uint32(raw : Nil)
        
          
Returns the
UInt32value represented by givenNiltype, else raise aTypeCastErrorexception. - #to_uint32(raw : String)
 - #to_uint32(raw : YAML::Any)
 - #to_uint32(raw : Time)
 - 
        #to_uint32?(raw : YAML::Any)
        
          
Alias to
#to_uint? - 
        #to_uint32?(raw : Symbol)
        
          
Alias to
#to_uint? - 
        #to_uint32?(raw : String)
        
          
Alias to
#to_uint? - 
        #to_uint32?(raw : Nil)
        
          
Alias to
#to_uint? - 
        #to_uint32?(raw : NamedTuple)
        
          
Returns the
Nilvalue represented by given NamedTuple type. - 
        #to_uint32?(raw : JSON::Any)
        
          
Alias to
#to_uint? - 
        #to_uint32?(raw : Int)
        
          
Alias to
#to_uint? - 
        #to_uint32?(raw : Hash)
        
          
Alias to
#to_uint? - 
        #to_uint32?(raw : Float)
        
          
Alias to
#to_uint? - 
        #to_uint32?(raw : Bool)
        
          
Alias to
#to_uint? - 
        #to_uint32?(raw : Array)
        
          
Alias to
#to_uint? - 
        #to_uint32?(raw : Time)
        
          
Alias to
#to_uint? - 
        #to_uint64(raw : Nil)
        
          
Returns the
UInt64value represented by givenNiltype, else raise aTypeCastErrorexception. - #to_uint64(raw : YAML::Any)
 - #to_uint64(raw : Time)
 - #to_uint64(raw : Symbol)
 - 
        #to_uint64(raw : Array)
        
          
Returns the
UInt64value represented by givenArraytype, else raise aTypeCastErrorexception. - #to_uint64(raw : Bool)
 - 
        #to_uint64(raw : Float)
        
          
Returns the
UInt64value represented by givenFloattype, else raise aTypeCastErrorexception. - 
        #to_uint64(raw : Hash)
        
          
Returns the
UInt64value represented by givenHashtype, else raise aTypeCastErrorexception. - 
        #to_uint64(raw : NamedTuple)
        
          
Returns the
UInt64value represented by givenNamedTupletype, else raise aTypeCastErrorexception. - #to_uint64(raw : JSON::Any)
 - 
        #to_uint64(raw : Int)
        
          
Returns the
UInt64value represented by givenInttype, else raise aTypeCastErrorexception. - #to_uint64(raw : String)
 - 
        #to_uint64?(raw : Array)
        
          
Returns the
UInt64orNilvalue represented by given Array type. - 
        #to_uint64?(raw : Bool)
        
          
Returns the
UInt64orNilvalue represented by given Bool type. - 
        #to_uint64?(raw : Float)
        
          
Returns the
UInt64orNilvalue represented by given Float type. - 
        #to_uint64?(raw : Int)
        
          
Returns the
UInt64orNilvalue represented by given Int type. - 
        #to_uint64?(raw : JSON::Any)
        
          
Returns the
UInt64orNilvalue represented by given JSON::Any type. - 
        #to_uint64?(raw : NamedTuple)
        
          
Returns the
Nilvalue represented by given NamedTuple type. - 
        #to_uint64?(raw : Nil)
        
          
Returns the
UInt64orNilvalue represented by given Nil type. - 
        #to_uint64?(raw : String)
        
          
Returns the
UInt64orNilvalue represented by given String type. - 
        #to_uint64?(raw : Symbol)
        
          
Returns the
Nilvalue represented by given Symbol type. - 
        #to_uint64?(raw : Time)
        
          
Returns the
UInt64orNilvalue represented by given Time type. - 
        #to_uint64?(raw : Hash)
        
          
Returns the
Nilvalue represented by given Hash type. - 
        #to_uint64?(raw : YAML::Any)
        
          
Returns the
UInt64orNilvalue represented by given YAML::Any type. - #to_uint8(raw : YAML::Any)
 - #to_uint8(raw : Time)
 - 
        #to_uint8(raw : Array)
        
          
Returns the
UInt8value represented by givenArraytype, else raise aTypeCastErrorexception. - #to_uint8(raw : Bool)
 - 
        #to_uint8(raw : Float)
        
          
Returns the
UInt8value represented by givenFloattype, else raise aTypeCastErrorexception. - 
        #to_uint8(raw : Hash)
        
          
Returns the
UInt8value represented by givenHashtype, else raise aTypeCastErrorexception. - 
        #to_uint8(raw : Int)
        
          
Returns the
UInt8value represented by givenInttype, else raise aTypeCastErrorexception. - #to_uint8(raw : JSON::Any)
 - 
        #to_uint8(raw : NamedTuple)
        
          
Returns the
UInt8value represented by givenNamedTupletype, else raise aTypeCastErrorexception. - 
        #to_uint8(raw : Nil)
        
          
Returns the
UInt8value represented by givenNiltype, else raise aTypeCastErrorexception. - #to_uint8(raw : String)
 - #to_uint8(raw : Symbol)
 - 
        #to_uint8?(raw : YAML::Any)
        
          
Returns the
Int8orNilvalue represented by given YAML::Any type. - 
        #to_uint8?(raw : Array)
        
          
Returns the
Int8orNilvalue represented by given Array type. - 
        #to_uint8?(raw : Bool)
        
          
Returns the
Int8orNilvalue represented by given Bool type. - 
        #to_uint8?(raw : Float)
        
          
Returns the
Int8orNilvalue represented by given Float type. - 
        #to_uint8?(raw : Hash)
        
          
Returns the
Nilvalue represented by given Hash type. - 
        #to_uint8?(raw : Int)
        
          
Returns the
Int8orNilvalue represented by given Int type. - 
        #to_uint8?(raw : JSON::Any)
        
          
Returns the
Int8orNilvalue represented by given JSON::Any type. - 
        #to_uint8?(raw : NamedTuple)
        
          
Returns the
Nilvalue represented by given NamedTuple type. - 
        #to_uint8?(raw : Nil)
        
          
Returns the
Int8orNilvalue represented by given Nil type. - 
        #to_uint8?(raw : String)
        
          
Returns the
Int8orNilvalue represented by given String type. - 
        #to_uint8?(raw : Symbol)
        
          
Returns the
Nilvalue represented by given Symbol type. - 
        #to_uint8?(raw : Time)
        
          
Returns the
Nilvalue represented by given Time type. - 
        #to_uint?(raw : Bool)
        
          
Returns the
UInt32orNilvalue represented by given Bool type. - 
        #to_uint?(raw : Array)
        
          
Returns the
UInt32orNilvalue represented by given Array type. - 
        #to_uint?(raw : Hash)
        
          
Returns the
Nilvalue represented by given Hash type. - 
        #to_uint?(raw : Int)
        
          
Returns the
UInt32orNilvalue represented by given Int type. - 
        #to_uint?(raw : JSON::Any)
        
          
Returns the
UInt32orNilvalue represented by given JSON::Any type. - 
        #to_uint?(raw : NamedTuple)
        
          
Aliase to
#to_uint32 - 
        #to_uint?(raw : Nil)
        
          
Returns the
UInt32orNilvalue represented by given Nil type. - 
        #to_uint?(raw : String)
        
          
Returns the
UInt32orNilvalue represented by given String type. - 
        #to_uint?(raw : Symbol)
        
          
Returns the
Nilvalue represented by given Symbol type. - 
        #to_uint?(raw : Time)
        
          
Returns the
UInt32orNilvalue represented by given Time type. - 
        #to_uint?(raw : YAML::Any)
        
          
Returns the
UInt32orNilvalue represented by given YAML::Any type. - 
        #to_uint?(raw : Float)
        
          
Returns the
UInt32orNilvalue represented by given Float type. 
Macro Summary
- 
        generate!
        
          
Generate to
to_xxxmethods fromto_xxx?. 
Instance Method Detail
Returns the Array value represented by given Array type, else raise a TypeCastError exception.
Returns the Array value represented by given Bool type, else raise a TypeCastError exception.
Returns the Array value represented by given Float type, else raise a TypeCastError exception.
Returns the Array value represented by given Hash type, else raise a TypeCastError exception.
Returns the Array value represented by given Int type, else raise a TypeCastError exception.
Returns the Array value represented by given JSON::Any type, else raise a TypeCastError exception.
Returns the Array value represented by given NamedTuple type, else raise a TypeCastError exception.
Returns the Array value represented by given Time type, else raise a TypeCastError exception.
Returns the Array value represented by given String type, else raise a TypeCastError exception.
Returns the Array value represented by given Symbol type, else raise a TypeCastError exception.
Returns the Array value represented by given YAML::Any type, else raise a TypeCastError exception.
Returns the Array or Nil value represented by given String type.
Returns the Array or Nil value represented by given YAML::Any type.
Returns the Array or Nil value represented by given Symbol type.
Returns the Array or Nil value represented by given Time type.
Returns the Array or Nil value represented by given NamedTuple type.
Returns the Array or Nil value represented by given JSON::Any type.
Returns the Array or Nil value represented by given Int type.
Returns the Array or Nil value represented by given Hash type.
Popcorn.to_array?({"a" => "b", "c" => "d"})   # => ["a", "b", "c", "d"]
        Returns the Array or Nil value represented by given Float type.
Returns the Array or Nil value represented by given Bool type.
Returns the Array or Nil value represented by given Array type.
Returns the Bool value represented by given Array type, else raise a TypeCastError exception.
Returns the Bool value represented by given Float type, else raise a TypeCastError exception.
Returns the Bool value represented by given Hash type, else raise a TypeCastError exception.
Returns the Bool value represented by given Int type, else raise a TypeCastError exception.
Returns the Bool value represented by given NamedTuple type, else raise a TypeCastError exception.
Returns the Bool value represented by given Nil type, else raise a TypeCastError exception.
Returns the Nil value represented by given Time type.
It accepts true, t, yes, y, on, 1, false, f, no, n, off, 0. Any other value return an error.
Returns the Bool or Nil value represented by given Symbol type.
It accepts true, t, yes, y, on, 1, false, f, no, n, off, 0. Any other value return an error.
Returns the Bool or Nil value represented by given String type.
It accepts true, t, yes, y, on, 1, false, f, no, n, off, 0. Any other value return an error.
Returns the Bool value represented by given Nil type.
It accepts true, t, yes, y, on, 1, false, f, no, n, off, 0. Any other value return an error.
Returns the Bool or Nil value represented by given NamedTuple type.
Returns the Bool or Nil value represented by given JSON::Any type.
It accepts true, t, yes, y, on, 1, false, f, no, n, off, 0. Any other value return an error.
Returns the Bool or Nil value represented by given Int type.
It accepts true, t, yes, y, on, 1, false, f, no, n, off, 0. Any other value return an error.
Returns the Bool or Nil value represented by given Float type.
It accepts true, t, yes, y, on, 1, false, f, no, n, off, 0. Any other value return an error.
Returns the Bool value represented by given Bool type.
It accepts true, t, yes, y, on, 1, false, f, no, n, off, 0. Any other value return an error.
Returns the Bool or Nil value represented by given YAML::Any type.
It accepts true, t, yes, y, on, 1, false, f, no, n, off, 0. Any other value return an error.
Returns the Float value represented by given String type, else raise a TypeCastError exception.
Returns the Float value represented by given Nil type, else raise a TypeCastError exception.
Returns the Float value represented by given NamedTuple type, else raise a TypeCastError exception.
Returns the Float value represented by given JSON::Any type, else raise a TypeCastError exception.
Returns the Float value represented by given Int type, else raise a TypeCastError exception.
Returns the Float value represented by given Hash type, else raise a TypeCastError exception.
Returns the Float value represented by given Float type, else raise a TypeCastError exception.
Returns the Float value represented by given Bool type, else raise a TypeCastError exception.
Returns the Float value represented by given Array type, else raise a TypeCastError exception.
Returns the Float value represented by given Time type, else raise a TypeCastError exception.
Returns the Float value represented by given YAML::Any type, else raise a TypeCastError exception.
Returns the Float value represented by given Symbol type, else raise a TypeCastError exception.
Returns the Float32 value represented by given Array type, else raise a TypeCastError exception.
Returns the Float32 value represented by given Float type, else raise a TypeCastError exception.
Returns the Float32 value represented by given Hash type, else raise a TypeCastError exception.
Returns the Float32 value represented by given Int type, else raise a TypeCastError exception.
Returns the Float32 value represented by given JSON::Any type, else raise a TypeCastError exception.
Returns the Float32 value represented by given NamedTuple type, else raise a TypeCastError exception.
Returns the Float32 value represented by given Nil type, else raise a TypeCastError exception.
Returns the Float32 value represented by given YAML::Any type, else raise a TypeCastError exception.
Returns the Float32 or Nil value represented by given YAML::Any type.
Returns the Nil value represented by given Symbol type.
Returns the Float32 or Nil value represented by given String type.
Returns the Float32 or Nil value represented by given JSON::Any type.
Returns the Float64 value represented by given Float type, else raise a TypeCastError exception.
Returns the Float64 value represented by given Hash type, else raise a TypeCastError exception.
Returns the Float64 value represented by given Int type, else raise a TypeCastError exception.
Returns the Float64 value represented by given JSON::Any type, else raise a TypeCastError exception.
Returns the Float64 value represented by given NamedTuple type, else raise a TypeCastError exception.
Returns the Float64 value represented by given Nil type, else raise a TypeCastError exception.
Returns the Float64 value represented by given YAML::Any type, else raise a TypeCastError exception.
Returns the Float64 value represented by given Array type, else raise a TypeCastError exception.
Returns the Float64 or Nil value represented by given YAML::Any type.
Returns the Float64 or Nil value represented by given Time type.
Returns the Float64 or Nil value represented by given String type.
Returns the Float64 or Nil value represented by given JSON::Any type.
Returns the Float64 or Nil value represented by given Bool type.
Returns the Hash value represented by given Symbol type, else raise a TypeCastError exception.
Returns the Hash value represented by given Bool type, else raise a TypeCastError exception.
Returns the Hash value represented by given Float type, else raise a TypeCastError exception.
Returns the Hash value represented by given Hash type, else raise a TypeCastError exception.
Returns the Hash value represented by given Int type, else raise a TypeCastError exception.
Returns the Hash value represented by given JSON::Any type, else raise a TypeCastError exception.
Returns the Hash value represented by given YAML::Any type, else raise a TypeCastError exception.
Returns the Hash value represented by given NamedTuple type, else raise a TypeCastError exception.
Returns the Hash value represented by given Time type, else raise a TypeCastError exception.
Returns the Hash value represented by given String type, else raise a TypeCastError exception.
Returns the Hash value represented by given Array type, else raise a TypeCastError exception.
Returns the Hash or Nil value represented by given YAML::Any type.
Returns the Hash or Nil value represented by given Symbol type.
Returns the Hash or Nil value represented by given String type.
Returns the Hash or Nil value represented by given Time type.
Returns the Hash or Nil value represented by given NamedTuple type.
Returns the Hash or Nil value represented by given JSON::Any type.
Returns the Hash or Nil value represented by given Int type.
Returns the Hash or Nil value represented by given Hash type.
Returns the Hash or Nil value represented by given Float type.
Returns the Hash or Nil value represented by given Bool type.
Returns the Hash or Nil value represented by given Array type.
Returns the Int value represented by given YAML::Any type, else raise a TypeCastError exception.
Returns the Int value represented by given Time type, else raise a TypeCastError exception.
Returns the Int value represented by given Symbol type, else raise a TypeCastError exception.
Returns the Int value represented by given String type, else raise a TypeCastError exception.
Returns the Int value represented by given Nil type, else raise a TypeCastError exception.
Returns the Int value represented by given NamedTuple type, else raise a TypeCastError exception.
Returns the Int value represented by given JSON::Any type, else raise a TypeCastError exception.
Returns the Int value represented by given Hash type, else raise a TypeCastError exception.
Returns the Int value represented by given Float type, else raise a TypeCastError exception.
Returns the Int value represented by given Bool type, else raise a TypeCastError exception.
Returns the Int value represented by given Array type, else raise a TypeCastError exception.
Returns the Int value represented by given Int type, else raise a TypeCastError exception.
Returns the Int16 value represented by given Array type, else raise a TypeCastError exception.
Returns the Int16 value represented by given Float type, else raise a TypeCastError exception.
Returns the Int16 value represented by given Hash type, else raise a TypeCastError exception.
Returns the Int16 value represented by given Int type, else raise a TypeCastError exception.
Returns the Int16 value represented by given NamedTuple type, else raise a TypeCastError exception.
Returns the Int16 value represented by given Nil type, else raise a TypeCastError exception.
Returns the Int16 or Nil value represented by given Bool type.
Returns the Int16 or Nil value represented by given JSON::Any type.
Returns the Int16 or Nil value represented by given String type.
Returns the Int16 or Nil value represented by given YAML::Any type.
Returns the Int32 value represented by given Nil type, else raise a TypeCastError exception.
Returns the Int32 value represented by given NamedTuple type, else raise a TypeCastError exception.
Returns the Int32 value represented by given Int type, else raise a TypeCastError exception.
Returns the Int32 value represented by given Hash type, else raise a TypeCastError exception.
Returns the Int32 value represented by given Float type, else raise a TypeCastError exception.
Returns the Int32 value represented by given Array type, else raise a TypeCastError exception.
Returns the Int32 or Nil value represented by given YAML::Any type.
Returns the Int32 or Nil value represented by given Bool type.
Returns the Int32 or Nil value represented by given JSON::Any type.
Returns the Int32 or Nil value represented by given String type.
Returns the Int64 value represented by given Array type, else raise a TypeCastError exception.
Returns the Int64 value represented by given Float type, else raise a TypeCastError exception.
Returns the Int64 value represented by given Hash type, else raise a TypeCastError exception.
Returns the Int64 value represented by given Int type, else raise a TypeCastError exception.
Returns the Int64 value represented by given Nil type, else raise a TypeCastError exception.
Returns the Int64 value represented by given NamedTuple type, else raise a TypeCastError exception.
Returns the Int64 or Nil value represented by given JSON::Any type.
Returns the Int64 or Nil value represented by given String type.
Returns the Int64 or Nil value represented by given Bool type.
Returns the Int64 or Nil value represented by given Time type.
Returns the Int64 or Nil value represented by given YAML::Any type.
Returns the Int8 value represented by given Float type, else raise a TypeCastError exception.
Returns the Int8 value represented by given Hash type, else raise a TypeCastError exception.
Returns the Int8 value represented by given Int type, else raise a TypeCastError exception.
Returns the Int8 value represented by given NamedTuple type, else raise a TypeCastError exception.
Returns the Int8 value represented by given Nil type, else raise a TypeCastError exception.
Returns the Int8 value represented by given Array type, else raise a TypeCastError exception.
Returns the Int8 or Nil value represented by given Bool type.
Returns the Int8 or Nil value represented by given JSON::Any type.
Returns the Int8 or Nil value represented by given String type.
Returns the Int8 or Nil value represented by given YAML::Any type.
Returns the Time value represented by given Array type, else raise a TypeCastError exception.
Returns the Time value represented by given Float type, else raise a TypeCastError exception.
Returns the Time value represented by given Hash type, else raise a TypeCastError exception.
Returns the Time value represented by given Int type, else raise a TypeCastError exception.
Returns the Time value represented by given Nil type, else raise a TypeCastError exception.
Returns the Time or Nil value represented by given YAML::Any type.
Returns the Nil value represented by given Symbol type.
Returns the Time or Nil value represented by given String type.
Returns the Nil value represented by given Nil type.
Returns the Time or Nil value represented by given JSON::Any type.
Returns the Time or Nil value represented by given Int type.
Returns the Nil value represented by given Hash type.
Returns the Nil value represented by given Float type.
Returns the Nil value represented by given Bool type.
Returns the Nil value represented by given NamedTuple type.
Returns the Time or Nil value represented by given Time type.
Returns the UInt value represented by given Symbol type, else raise a TypeCastError exception.
Returns the UInt value represented by given Bool type, else raise a TypeCastError exception.
Returns the UInt value represented by given Array type, else raise a TypeCastError exception.
Returns the UInt value represented by given Float type, else raise a TypeCastError exception.
Returns the UInt value represented by given Hash type, else raise a TypeCastError exception.
Returns the UInt value represented by given Int type, else raise a TypeCastError exception.
Returns the UInt value represented by given JSON::Any type, else raise a TypeCastError exception.
Returns the UInt value represented by given NamedTuple type, else raise a TypeCastError exception.
Returns the UInt value represented by given Nil type, else raise a TypeCastError exception.
Returns the UInt value represented by given String type, else raise a TypeCastError exception.
Returns the UInt value represented by given Time type, else raise a TypeCastError exception.
Returns the UInt value represented by given YAML::Any type, else raise a TypeCastError exception.
Returns the UInt16 value represented by given Nil type, else raise a TypeCastError exception.
Returns the UInt16 value represented by given NamedTuple type, else raise a TypeCastError exception.
Returns the UInt16 value represented by given Int type, else raise a TypeCastError exception.
Returns the UInt16 value represented by given Hash type, else raise a TypeCastError exception.
Returns the UInt16 value represented by given Float type, else raise a TypeCastError exception.
Returns the UInt16 value represented by given Array type, else raise a TypeCastError exception.
Returns the UInt16 or Nil value represented by given YAML::Any type.
Returns the Nil value represented by given Symbol type.
Returns the UInt16 or Nil value represented by given String type.
Returns the UInt16 or Nil value represented by given JSON::Any type.
Returns the UInt16 or Nil value represented by given Bool type.
Returns the UInt32 value represented by given Array type, else raise a TypeCastError exception.
Returns the UInt32 value represented by given Float type, else raise a TypeCastError exception.
Returns the UInt32 value represented by given Hash type, else raise a TypeCastError exception.
Returns the UInt32 value represented by given Int type, else raise a TypeCastError exception.
Returns the UInt32 value represented by given NamedTuple type, else raise a TypeCastError exception.
Returns the UInt32 value represented by given Nil type, else raise a TypeCastError exception.
Returns the UInt64 value represented by given Nil type, else raise a TypeCastError exception.
Returns the UInt64 value represented by given Array type, else raise a TypeCastError exception.
Returns the UInt64 value represented by given Float type, else raise a TypeCastError exception.
Returns the UInt64 value represented by given Hash type, else raise a TypeCastError exception.
Returns the UInt64 value represented by given NamedTuple type, else raise a TypeCastError exception.
Returns the UInt64 value represented by given Int type, else raise a TypeCastError exception.
Returns the UInt64 or Nil value represented by given Bool type.
Returns the UInt64 or Nil value represented by given JSON::Any type.
Returns the UInt64 or Nil value represented by given String type.
Returns the Nil value represented by given Symbol type.
Returns the UInt64 or Nil value represented by given Time type.
Returns the UInt64 or Nil value represented by given YAML::Any type.
Returns the UInt8 value represented by given Array type, else raise a TypeCastError exception.
Returns the UInt8 value represented by given Float type, else raise a TypeCastError exception.
Returns the UInt8 value represented by given Hash type, else raise a TypeCastError exception.
Returns the UInt8 value represented by given Int type, else raise a TypeCastError exception.
Returns the UInt8 value represented by given NamedTuple type, else raise a TypeCastError exception.
Returns the UInt8 value represented by given Nil type, else raise a TypeCastError exception.
Returns the Int8 or Nil value represented by given YAML::Any type.
Returns the Int8 or Nil value represented by given Bool type.
Returns the Int8 or Nil value represented by given JSON::Any type.
Returns the Int8 or Nil value represented by given String type.
Returns the UInt32 or Nil value represented by given Bool type.
Returns the UInt32 or Nil value represented by given JSON::Any type.
Returns the UInt32 or Nil value represented by given String type.
Returns the UInt32 or Nil value represented by given Time type.
Returns the UInt32 or Nil value represented by given YAML::Any type.