Is there a way to filter tiddlers based on field value alone, not the field name

How to use this in the code for random tiddler based on the random filter operator by @Yaisog

<$let numberOfShadows={{{ [all[shadows]count[]] }}}>
  <$button actions="""<$action-setfield $tiddler="$:/temp/persistent-shadow" $value={{{ [random<numberOfShadows>] }}} />""">
    Click here
  </$button>
</$let>
<$reveal type="nomatch" text="" state="$:/temp/persistent-shadow">
  <$text text={{{ [all[shadows]sort[]nth{$:/temp/persistent-shadow}] }}} />
</$reveal>

Instead of listing the shadow tiddlers, I want to have random tiddler from a list of my note tiddlers. For that I have to exclude the tiddler with field-value as shadow.

@twMat How to use the code shared by you in the above post in this random tiddler code