API Reference > ecschema-Metadata > Metadata > parseStrength parseStrength Function Beta Takes a string representing a StrengthType, will parse it and return the corresponding StrengthType. parseStrength(strength: string): StrengthType | undefined throws ECObjectsStatus.InvalidStrength if the provided string that is not valid Parameter Type Description strength string Returns - StrengthType | undefined Defined in core/ecschema-metadata/src/ECObjects.ts Line 430 Last Updated: 11 June, 2024