contains

docblock
contains(substring::String) -> Function

Create a selector that matches symbols containing substring.

Example

# Match functions containing "helper"
selector = contains("helper")
selector(:my_helper_func)  # true
selector(:other_func)      # false