Skip to content

StartsWith ​

Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand. No examples yet — the crosswalk is the reason it has a page.

Return True when the indexed collection begins with prefix as a contiguous subsequence. On a string the prefix is matched character by character, so a prefix that would end inside a grapheme cluster does not match. An empty prefix matches everything.

StartsWith(indexed_collection<T>, prefix: indexed_collection<T>) -> boolean where Tas compute-engine declares it
Typed signatures
TypePackageApplies
(indexed_collection<T>, prefix: indexed_collection<T>) -> boolean where Tcompute-enginealways

Domain: Compute engine

About