• Type Parameters

    • TType extends DeepRestrictToStringKeys<
          {
              schema: "network.xyo.module.state";
              state: { [key: string]: undefined
              | string
              | number };
          },
      >

    Parameters

    Returns undefined | TType

  • Type Parameters

    • TType extends DeepRestrictToStringKeys<
          {
              schema: "network.xyo.module.state";
              state: { [key: string]: undefined
              | string
              | number };
          },
      >

    Parameters

    • value: AnyNonPromise
    • assert: StringOrAlertFunction<
          DeepRestrictToStringKeys<
              {
                  schema: "network.xyo.module.state";
                  state: { [key: string]: undefined
                  | string
                  | number };
              },
          >,
      >
    • Optionalconfig: TypeCheckConfig

    Returns TType