question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I want to use custom stringIncludes

See original GitHub issue

Thank you for a wonderful product.

Problems and suggestions

The current implementation is a search that shows or hides the HTML element by partially matching the search value. AND, OR search can not be performed.

Countermeasure

Set stringIncludes as the default search, pass the search function as an option, and display or hide the HTML element according to the result of the passed search function.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
chimamecommented, Aug 16, 2017

Thank you @Haroenv It is the specification as I suggested.

0reactions
Haroenvcommented, Aug 16, 2017

I’d love to see what you built with Holmes, care to send me it when it’s done?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I use contains to search through a custom object ...
I've been given a task to make an inventory of videos and I want to be able to search through the inventory to...
Read more >
Python - custom string contains() method
In this example, we use in operator to create a custom implementation of the string contains() method and check if text contains some...
Read more >
strings - Custom include? method for a substring
Task: Write a function which returns true if a given substring is found within a given string. If the substring isn't found, then...
Read more >
Handling text — strings in JavaScript - Learn web development
This can work just like a normal string, except you can include variables in it, wrapped inside ${ } characters, and the variable's...
Read more >
How to create a custom String class in C++ with basic ...
In this article, we will create our custom string class which will have the same functionality as the existing string class.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found