has
ts
function Set.has(target, value)Example
ts
import { Set } from "@monstermann/set";
Set.has(Set.create([1, 2, 3]), 2); // true
Set.has(Set.create([1, 2, 3]), 4); // falsets
import { Set } from "@monstermann/set";
pipe(Set.create([1, 2, 3]), Set.has(2)); // true
pipe(Set.create([1, 2, 3]), Set.has(4)); // false