boolValue |
An NSExpression that evaluates to a number or string.
|
|
A Boolean representation of the target: FALSE when then input is an
empty string, 0, FALSE , NIL , or NaN , otherwise TRUE .
|
mgl_has: |
An NSExpression that evaluates to an NSDictionary or the evaluated object (SELF ).
|
An NSExpression that evaluates to an NSString representing the key to look up in the dictionary or the feature attribute to look up in the evaluated object (see MGLFeature.attributes ).
|
true if the dictionary has a value for the key or if the evaluated object has a value for the feature attribute.
|
mgl_expressionWithContext: |
An NSExpression that may contain references to the variables defined in
the context dictionary.
|
An NSDictionary with NSString s as keys and NSExpression s as values.
Each key is a variable name and each value is the variable’s value within
the target expression.
|
The target expression with variable subexpressions replaced with the
values defined in the context dictionary.
|
mgl_interpolateWithCurveType:parameters:stops: |
An NSExpression that evaluates to a number and contains a variable or
key path expression.
|
The first argument is one of the following strings denoting curve types:
linear , exponential , or cubic-bezier .
The second argument is an expression providing parameters for the curve:
- If the curve type is
linear , the argument is NIL .
-
If the curve type is
exponential , the argument is an expression
that evaluates to a number, specifying the base of the exponential
interpolation.
-
If the curve type is
cubic-bezier , the argument is an array or
aggregate expression containing four expressions, each evaluating to
a number. The four numbers are control points for the cubic Bézier
curve.
The third argument is an NSDictionary object representing the
interpolation’s stops, with numeric zoom levels as keys and expressions as
values.
|
A value interpolated along the continuous mathematical function defined by
the arguments, with the target as the input to the function.
|
mgl_numberWithFallbackValues: ,
doubleValue ,
floatValue ,
decimalValue
|
An NSExpression that evaluates to a Boolean value, number, or string.
|
Zero or more NSExpression s, each evaluating to a Boolean value or
string.
|
A numeric representation of the target:
- If the target is
NIL or FALSE , the result is 0.
- If the target is true, the result is 1.
-
If the target is a string, it is converted to a number as specified
by the
“ToNumber Applied to the String Type”
algorithm of the ECMAScript Language Specification.
-
If multiple values are provided, each one is evaluated in order
until the first successful conversion is obtained.
|
mgl_stepWithMinimum:stops: |
An NSExpression that evaluates to a number and contains a variable or
key path expression.
|
The first argument is an expression that evaluates to a number, specifying
the minimum value in case the target is less than any of the stops in the
second argument.
The second argument is an NSDictionary object representing the
interpolation’s stops, with numeric zoom levels as keys and expressions as
values.
|
The output value of the stop whose key is just less than the evaluated
target, or the minimum value if the target is less than the least of the
stops’ keys.
|
stringByAppendingString: |
An NSExpression that evaluates to a string.
|
One or more NSExpression s, each evaluating to a string.
|
The target string with each of the argument strings appended in order.
|
stringValue |
An NSExpression that evaluates to a Boolean value, number, or string.
|
|
A string representation of the target:
- If the target is
NIL , the result is the string null .
-
If the target is a Boolean value, the result is the string
true or
false .
-
If the target is a number, it is converted to a string as specified
by the
“NumberToString”
algorithm of the ECMAScript Language Specification.
-
If the target is a color, it is converted to a string of the form
rgba(r,g,b,a) , where r, g, and b
are numerals ranging from 0 to 255 and a ranges from 0 to
1.
-
Otherwise, the target is converted to a string in the format
specified by the
JSON.stringify()
function of the ECMAScript Language Specification.
|