Home > @i2analyze/i2connect > services > ISemanticSeed > getAsBooleans
services.ISemanticSeed.getAsBooleans() method
Gets the values of the properties with the specified semantic type as Booleans.
Signature:
getAsBooleans(semanticTypeId: string): boolean[] | undefined;
Introduced: API version 2.2
Parameters
Parameter | Type | Description |
---|---|---|
semanticTypeId | string | The identifier of the semantic property type. |
Returns:
boolean[] | undefined
The Boolean values of the identified properties, or undefined
.
Remarks
Used for the boolean
logical type, and considers string values matching 'true' or 'false'.