proped ~master (2017-08-25T15:44:46Z)
Dub
Repo
Properties.getOrElse
proped
properties
Properties
Get the value, otherwise return the default value
T
getOrElse
(
T
alt
)
struct
Properties
T
getOrElse
(
T
)
(
T
alt
)
if
(
IsValidType
!
T
)
T
getOrElse
(
string
path
,
T
alt
)
Parameters
alt
Type:
T
Default value
Examples
getOrElse
(
1
);
Meta
Source
See Implementation
proped
properties
Properties
functions
get
getArray
getObject
getOrElse
isArray
isNull
isObject
isType
length
opBinaryRight
opOpAssign
set
sub
toString
valueToObject
Get the value, otherwise return the default value