RDocumentation
Moon
Learn R
Search all packages and functions
functionMap (version 1.0.0)
common_prefix: The longest prefix of both lists
Description
The longest prefix of both lists
Usage
common_prefix(x, y)
Arguments
x
First list.
y
Second list.
Value
List, longest common prefix of both.