typedef js.html.StringCallback = String ->Bool

Available on js