MCPcopy
hub / github.com/di-sukharev/opencommit / isOptional

Method isOptional

out/cli.cjs:29814–29816  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29812 return ZodReadonly.create(this);
29813 }
29814 isOptional() {
29815 return this.safeParse(void 0).success;
29816 }
29817 isNullable() {
29818 return this.safeParse(null).success;
29819 }

Callers

nothing calls this directly

Calls 1

safeParseMethod · 0.80

Tested by

no test coverage detected