DragonZV
DragonZV
Explore posts from servers
SIASapphire - Imagine a framework
Created by DragonZV on 12/1/2022 in #sapphire-support
shapeshift's default with respect to surroundings
s.object({
name: s.enum("A", "B"),
other: s.object({ name: s.string }).default(/** if name is "A", default is { name: "abc" }, if name is "B", default is { name: "cba" }
s.object({
name: s.enum("A", "B"),
other: s.object({ name: s.string }).default(/** if name is "A", default is { name: "abc" }, if name is "B", default is { name: "cba" }
21 replies