Laravel Array Search Blade
{{in_array($node->id, $result["category"]) === true ? "selected" : ""}}
Arif W3
{{in_array($node->id, $result["category"]) === true ? "selected" : ""}}