API Reference > imodeljs-common > Entities > Base64EncodedString > Base64EncodedString.hasPrefix Base64EncodedString.hasPrefix Function Returns true if the input starts with Base64EncodedString.prefix indicating it is a well-formed Base64EncodedString. hasPrefix(str: string): boolean Parameter Type Description str string Returns - boolean Defined in core/common/src/Base64EncodedString.ts Line 33 Last Updated: 11 June, 2024