bytes->contains
Tests whether bytes contain bytes or text.
Target
Signature
1bytes->contains(find)Tests whether bytes contain bytes or text.
bytes->contains is called with member syntax on a receiver value. bytes->contains works with binary values. Convert strings to bytes before byte-level hashing or encoding, then convert back to a string only for display or transport.
Parameters
find- Required value. Supply
findpositionally unless the signature shows a keyword form.
Examples
Basic call
1bytes('abc')->contains('b')The example keeps binary work on bytes and converts only when text output is needed.