isprefixof package:rio

O(n) The isPrefixOf function takes two ByteStrings and returns True if the first is a prefix of the second.
O(n) The isPrefixOf function takes two ByteStrings and returns True iff the first is a prefix of the second.
The isPrefixOf function takes two lists and returns True iff the first list is a prefix of the second.
>>> "Hello" `isPrefixOf` "Hello World!"
True
>>> "Hello" `isPrefixOf` "Wello Horld!"
False
The isPrefixOf function returns True if the first argument is a prefix of the second.
O(n) The isPrefixOf function takes two Texts and returns True iff the first is a prefix of the second. Subject to fusion.