Categories: None [Edit]
    demand
Return a variable if it's present (and optionally of the right type), otherwise a default or nil. Adds a top level demand() method, which replaces long lines of repetitive code to check for nil?/present?/empty?, etc., hard-to-read ternary operators (?:) and if statements. A block can also be specified, which only runs (with the variable) if the checks pass.
    Total
Ranking: 107,279 of 187,548
          Downloads: 6,896
        Daily
Ranking: 108,010 of 187,532
          Downloads: 1
        Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name | 
|---|
Owners
| # | Gravatar | Handle | 
|---|---|---|
| 1 | Convincible | 
 xmisao
xmisao