Home > @i2analyze/i2connect > services > ISemanticSeed > getAsNumbers
services.ISemanticSeed.getAsNumbers() method
Gets the values of the properties with the specified semantic type as numbers.
Signature:
getAsNumbers(semanticTypeId: string): number[] | undefined;
Introduced: API version 2.2
Parameters
Parameter | Type | Description |
---|---|---|
semanticTypeId | string | The identifier of the semantic property type. |
Returns:
number[] | undefined
The number values of the identified properties, or undefined
.
Remarks
Used for the integer
and double
logical types, and considers strings that can be parsed as numbers.