import { isReadonly } from "https://deno.land/x/unknownutil@v3.18.0/is.ts";
Return true
if the type of predicate function x
is annotated as Readonly
This is unstable and may be removed in the future.
Type Parameters
P extends Predicate<unknown>
Parameters
x: P
Returns
x is P & WithMetadata<IsReadonlyOfMetadata>