MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / instanceOfType

Function instanceOfType

out/cli.cjs:32829–32831  ·  view source on GitHub ↗
(cls, params = {
      message: `Input not instance of ${cls.name}`
    })

Source from the content-addressed store, hash-verified

32827 ZodFirstPartyTypeKind2["ZodReadonly"] = "ZodReadonly";
32828 })(ZodFirstPartyTypeKind = exports2.ZodFirstPartyTypeKind || (exports2.ZodFirstPartyTypeKind = {}));
32829 var instanceOfType = (cls, params = {
32830 message: `Input not instance of ${cls.name}`
32831 }) => custom2((data) => data instanceof cls, params);
32832 exports2.instanceof = instanceOfType;
32833 var stringType = ZodString.create;
32834 exports2.string = stringType;

Callers

nothing calls this directly

Calls 1

custom2Function · 0.85

Tested by

no test coverage detected