Method StartsWith
StartsWith(BytesRef, BytesRef)
Returns true
if the ref
starts with the given prefix
.
Otherwise false
.
Declaration
public static bool StartsWith(BytesRef ref, BytesRef prefix)
Parameters
Type | Name | Description |
---|---|---|
BytesRef | ref | The BytesRef to test. |
BytesRef | prefix | The expected prefix |
Returns
Type | Description |
---|---|
System.Boolean | Returns |