@antiraid-ext/strings/contains
API reference for @antiraid-ext/strings/contains
@antiraid-ext/strings/contains
Functions
string_contains
Returns true if the string `str` contains the substring `sub`, false otherwise.
Function Signature
--- Returns true if the string \`str\` contains the substring \`sub\`, false otherwise.
--- @param str string The string to search in.
--- @param sub string The substring to search for.
--- @return boolean \`\`true\` if \`str\` contains \`sub\`, \`\`false\`\` otherwise.
function string_contains(str: string, sub: string) end
Arguments
str
string The string to search in.
sub
string The substring to search for.
Last updated on