eat

If arr starts with prefix, slice it off and return true. Otherwise leave arr unchaned and return false.

deprecated
bool
eat
(
T
)
(
ref T[] arr
,
T[] prefix
)

Meta