createNumberValueAsAttributeStrategy

Type: Function

Sets an attribute based on a number value on the context node.

Arguments

  1. attributeName

    (Required)

    Type: String

    The name of the attribute to be set

  2. valueName

    (Required)

    Type: String

    The name of the value to look for in the specification

  3. defaultValue

    (Required)

    Type: Number | NULL

    The default value when the value is not present in the specification or null when no attribute should be set

Returns

Type: Function

Arguments